Imported Debian patch 3.12-3.1
[debian/elilo] / debian / elilo.initramfs-post-update
diff --git a/debian/elilo.initramfs-post-update b/debian/elilo.initramfs-post-update
new file mode 100644 (file)
index 0000000..66bcbb1
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+case "$DPKG_MAINTSCRIPT_PACKAGE" in
+    linux-image-*)
+       # elilo will be updated later by the kernel postinst hook; no
+       # need to update it now.
+       exit 0
+       ;;
+    *)
+       elilo </dev/null >&2
+       ;;
+esac