Quote $PREFIX properly for paths with spaces
This commit is contained in:
parent
383cd44119
commit
ae7693a8a7
@ -6,13 +6,13 @@ if [ "$PREFIX" = "" ]; then
|
||||
PREFIX=/usr/local
|
||||
fi
|
||||
|
||||
xdg-mime uninstall ${PREFIX}/share/anki/anki.xml || true
|
||||
xdg-mime uninstall "$PREFIX"/share/anki/anki.xml || true
|
||||
|
||||
rm -rf ${PREFIX}/share/anki
|
||||
rm -rf ${PREFIX}/bin/anki
|
||||
rm -rf ${PREFIX}/share/pixmaps/anki.xpm
|
||||
rm -rf ${PREFIX}/share/pixmaps/anki.png
|
||||
rm -rf ${PREFIX}/share/applications/anki.desktop
|
||||
rm -rf ${PREFIX}/share/man/man1/anki.1
|
||||
rm -rf "$PREFIX"/share/anki
|
||||
rm -rf "$PREFIX"/bin/anki
|
||||
rm -rf "$PREFIX"/share/pixmaps/anki.xpm
|
||||
rm -rf "$PREFIX"/share/pixmaps/anki.png
|
||||
rm -rf "$PREFIX"/share/applications/anki.desktop
|
||||
rm -rf "$PREFIX"/share/man/man1/anki.1
|
||||
|
||||
echo "Uninstall complete."
|
||||
|
Loading…
Reference in New Issue
Block a user