Adding debian version 2.0~a1-1.
[live-boot-grml.git] / debian / live-boot-initramfs-tools.postinst
diff --git a/debian/live-boot-initramfs-tools.postinst b/debian/live-boot-initramfs-tools.postinst
new file mode 100644 (file)
index 0000000..2bae8ae
--- /dev/null
@@ -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