Recreating /etc/live/boot in postinst.
authorDaniel Baumann <daniel@debian.org>
Fri, 24 Aug 2012 10:27:03 +0000 (12:27 +0200)
committerDaniel Baumann <daniel@debian.org>
Fri, 24 Aug 2012 10:27:03 +0000 (12:27 +0200)
debian/live-boot.postinst [new file with mode: 0644]

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