summaryrefslogtreecommitdiff
path: root/debian/live-boot-initramfs-tools.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-24 15:27:36 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:52:46 +0100
commite66f79476042794195978ee641aa7ea0d9ca6e0a (patch)
tree90286f281543c1a6f4ad56e229f5ff95438613da /debian/live-boot-initramfs-tools.postinst
parentad7598cb46a5a6268ca60e5dba156056fb86c09d (diff)
downloadlive-boot-e66f79476042794195978ee641aa7ea0d9ca6e0a.tar.gz
live-boot-e66f79476042794195978ee641aa7ea0d9ca6e0a.zip
Adding debian version 2.0~a1-1.
Diffstat (limited to 'debian/live-boot-initramfs-tools.postinst')
-rw-r--r--debian/live-boot-initramfs-tools.postinst25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/live-boot-initramfs-tools.postinst b/debian/live-boot-initramfs-tools.postinst
new file mode 100644
index 0000000..2bae8ae
--- /dev/null
+++ b/debian/live-boot-initramfs-tools.postinst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ configure)
+ if [ -x /usr/sbin/update-initramfs ]
+ then
+ update-initramfs -u
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0