[SCM] live-config branch, debian-next, updated. debian/3.0_a14-1-13-g054a3b9

Daniel Baumann daniel at debian.org
Mon Dec 6 16:11:34 UTC 2010


The following commit has been merged in the debian-next branch:
commit 054a3b9316623b1016c0588a4eb7126faf6e9775
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Dec 6 17:10:43 2010 +0100

    Adding postinst script that cleans up live-config modifications if persistent pre-configuration at build time was used and the system is intended to be installed with live-installer.

diff --git a/debian/live-config.postinst b/debian/live-config.postinst
new file mode 100644
index 0000000..16a313f
--- /dev/null
+++ b/debian/live-config.postinst
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+	configure)
+		rm -f /etc/sudoers.d/live
+		;;
+
+	abort-upgrade|abort-remove|abort-deconfigure)
+
+		;;
+
+	*)
+		echo "postinst called with unknown argument \`${1}'" >&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0

-- 
live-config



More information about the debian-live-changes mailing list