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:
parent
e0a1da6aba
commit
ff528d09db
2
Makefile
2
Makefile
|
@ -73,7 +73,7 @@ install:
|
|||
uninstall:
|
||||
# Uninstalling shared data
|
||||
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
|
||||
rm -f $(DESTDIR)/usr/bin/lb $(DESTDIR)/usr/bin/live-build
|
||||
|
|
Loading…
Reference in New Issue