summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-06-16 22:24:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-06-16 22:24:12 +0200
commitff528d09db070be9c876c1f938c9fe4defbb966d (patch)
tree972e9f51bccd9d694e91c1f1366b4fa44d28fb73 /Makefile
parente0a1da6abaa2f75a5997d63a34283e2de54ee878 (diff)
downloadvyos-live-build-ff528d09db070be9c876c1f938c9fe4defbb966d.tar.gz
vyos-live-build-ff528d09db070be9c876c1f938c9fe4defbb966d.zip
Correct rmdir call in top-level Makefiles uninstall target to not fail if there was no prior live-build installation.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b416a3945..2a78628f9 100644
--- a/Makefile
+++ b/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