[SCM] live-debconfig branch, debian-next, updated. debian/4.0_a3-1-17-g77e993d

Daniel Baumann daniel at debian.org
Fri Aug 17 11:04:27 UTC 2012


The following commit has been merged in the debian-next branch:
commit 77e993dcb6240b9fa366fd569f8e9d32977ac76c
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Aug 17 13:04:26 2012 +0200

    Also removing /var/lib/live on purge if empty.

diff --git a/debian/live-debconfig.postrm b/debian/live-debconfig.postrm
index d349eb5..5294bad 100644
--- a/debian/live-debconfig.postrm
+++ b/debian/live-debconfig.postrm
@@ -5,6 +5,7 @@ set -e
 case "${1}" in
 	purge)
 		rm -rf /var/lib/live/debconfig
+		rmdir --ignore-fail-on-non-empty /var/lib/live > /dev/null 2>&1 || true
 		;;
 
 	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

-- 
live-debconfig



More information about the debian-live-changes mailing list