Correct rmdir call in top-level Makefiles uninstall target to not fail if there was no prior live-build installation.

This commit is contained in:
Daniel Baumann 2011-06-16 22:24:12 +02:00
parent e0a1da6aba
commit ff528d09db
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ install:
uninstall: uninstall:
# Uninstalling shared data # Uninstalling shared data
rm -rf $(DESTDIR)/usr/share/live/build rm -rf $(DESTDIR)/usr/share/live/build
rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live || true
# Uninstalling executables # Uninstalling executables
rm -f $(DESTDIR)/usr/bin/lb $(DESTDIR)/usr/bin/live-build rm -f $(DESTDIR)/usr/bin/lb $(DESTDIR)/usr/bin/live-build