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.postrm15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/cryptsetup-initramfs.postrm b/debian/cryptsetup-initramfs.postrm
new file mode 100644
index 0000000..f42e20e
--- /dev/null
+++ b/debian/cryptsetup-initramfs.postrm
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+ remove)
+ if command -v update-initramfs >/dev/null; then
+ update-initramfs -u
+ fi
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0