[SCM] live-boot branch, debian, updated. debian/3.0_b2-1

Daniel Baumann daniel at debian.org
Fri Aug 24 10:37:40 UTC 2012


The following commit has been merged in the debian branch:
commit 876ee0a7aff7c7a80d58e766d42ad58f34e1259e
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Aug 24 12:29:08 2012 +0200

    Regenerating initramfs on remove.

diff --git a/debian/live-boot-initramfs-tools.postinst b/debian/live-boot-initramfs-tools.postrm
similarity index 60%
copy from debian/live-boot-initramfs-tools.postinst
copy to debian/live-boot-initramfs-tools.postrm
index d11c8d9..370b6c3 100644
--- a/debian/live-boot-initramfs-tools.postinst
+++ b/debian/live-boot-initramfs-tools.postrm
@@ -3,19 +3,19 @@
 set -e
 
 case "${1}" in
-	configure)
+	remove)
 		if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]
 		then
 			update-initramfs -u
 		fi
 		;;
 
-	abort-upgrade|abort-remove|abort-deconfigure)
+	purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
 		;;
 
 	*)
-		echo "postinst called with unknown argument \`${1}'" >&2
+		echo "postrm called with unknown argument \`${1}'" >&2
 		exit 1
 		;;
 esac

-- 
live-boot



More information about the debian-live-changes mailing list