diff options
Diffstat (limited to 'debian/live-initramfs.postrm')
| -rw-r--r-- | debian/live-initramfs.postrm | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/live-initramfs.postrm b/debian/live-initramfs.postrm deleted file mode 100644 index b94b3bd..0000000 --- a/debian/live-initramfs.postrm +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -case "$(ls -l /boot/vmlinu* | wc -l)" in - 1) - # We only have one kernel installed, so we can use "-u" - # which will use dpkg-trigger inside update-initramfs - INITRAMFS_ARGS="-u" - ;; - - *) - INITRAMFS_ARGS="-u -k all" - ;; -esac - -if [ -x /usr/sbin/update-initramfs ] && [ "${1}" != "triggered" ] && \ - dpkg --compare-versions "${DPKG_RUNNING_VERSION}" ge "1.14.18" -then - # this activates the trigger, if triggers are working - update-initramfs ${INITRAMFS_ARGS} -else - # force it to actually happen - DPKG_MAINTSCRIPT_PACKAGE="" update-initramfs ${INITRAMFS_ARGS} -fi - -#DEBHELPER# |
