summaryrefslogtreecommitdiffstats
path: root/debian/cryptsetup-initramfs.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/cryptsetup-initramfs.postrm')
-rw-r--r--debian/cryptsetup-initramfs.postrm13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/cryptsetup-initramfs.postrm b/debian/cryptsetup-initramfs.postrm
new file mode 100644
index 0000000..be4a4e1
--- /dev/null
+++ b/debian/cryptsetup-initramfs.postrm
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+ remove)
+ if which update-initramfs >/dev/null; then
+ update-initramfs -u
+ fi
+ ;;
+esac
+
+#DEBHELPER#