do not fail in postrm if /var/lib/monkeysphere is already wiped.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 15 Nov 2008 21:54:26 +0000 (16:54 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 15 Nov 2008 21:54:26 +0000 (16:54 -0500)
packaging/debian/monkeysphere.postrm

index ffb6b6e35cfa191332c2a60879b67b248a2149d8..8f87ed359dc4f0f95b9c3b5b91cd63657a5d2323 100755 (executable)
@@ -7,7 +7,7 @@
 
 case $1 in
     purge)
-        rmdir --ignore-fail-on-non-empty /var/lib/monkeysphere
+        rmdir --ignore-fail-on-non-empty /var/lib/monkeysphere || true
         echo "removing monkeysphere user..."
         userdel monkeysphere > /dev/null || true
         ;;