summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-08-24 12:27:03 +0200
committerDaniel Baumann <daniel@debian.org>2012-08-24 12:27:03 +0200
commit339243f3eb5086729cb1758f85fddf52cf088ea0 (patch)
tree2220da5a2678fde3a099ef55d473671061feb9dc
parentc4ce70393af278beedaeab79808e0059d91f62b6 (diff)
downloadlive-boot-339243f3eb5086729cb1758f85fddf52cf088ea0.tar.gz
live-boot-339243f3eb5086729cb1758f85fddf52cf088ea0.zip
Recreating /etc/live/boot in postinst.
-rw-r--r--debian/live-boot.postinst22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/live-boot.postinst b/debian/live-boot.postinst
new file mode 100644
index 0000000..0f0f4ad
--- /dev/null
+++ b/debian/live-boot.postinst
@@ -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