wine app don't error if file missing

pull/322/head
Botspot 5 years ago
parent 2682eaa226
commit b8809bd5c9

@ -7,12 +7,11 @@ function error {
exit 1
}
rm -rf ~/.wine || error 'Failed to remove ~/.wine, trying again as root'
sudo rm -rf ~/.wine || error 'Failed to remove ~/.wine as root!'
sudo rm -rf /usr/local/bin/wine || error 'Failed to remove /usr/local/bin/wine!'
sudo rm /usr/local/bin/winecfg || error 'Failed to remove /usr/local/bin/winecfg!'
sudo rm /usr/local/bin/wineserver || error 'Failed to remove /usr/local/bin/wineserver!'
rm -rf ~/wine || error 'Failed to remove ~/wine!'
rm -rf ~/.wine
sudo rm -rf /usr/local/bin/wine
sudo rm /usr/local/bin/winecfg
sudo rm /usr/local/bin/wineserver
rm -rf ~/wine
rm ~/.local/share/applications/winecfg.desktop || error 'Failed to remove winecfg menu shortcut'

Loading…
Cancel
Save