X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-boot-initramfs-tools.postrm;fp=debian%2Flive-boot-initramfs-tools.postrm;h=370b6c307cf31dcdbc8a48094b6463630d77805e;hb=876ee0a7aff7c7a80d58e766d42ad58f34e1259e;hp=0000000000000000000000000000000000000000;hpb=b75baa7f4fa4476cbf0a3273a140a887c3ac1e6b;p=live-boot-grml.git diff --git a/debian/live-boot-initramfs-tools.postrm b/debian/live-boot-initramfs-tools.postrm new file mode 100644 index 0000000..370b6c3 --- /dev/null +++ b/debian/live-boot-initramfs-tools.postrm @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove) + if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ] + then + update-initramfs -u + fi + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0