summaryrefslogtreecommitdiffstats
path: root/debian/cryptsetup.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/cryptsetup.postrm15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/cryptsetup.postrm b/debian/cryptsetup.postrm
new file mode 100644
index 0000000..1ae8a22
--- /dev/null
+++ b/debian/cryptsetup.postrm
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+set -e
+
+case "$1" in
+ remove)
+ for file in cryptdisks_start cryptdisks_stop; do
+ if [ -L /usr/sbin/$file ]; then
+ rm /usr/sbin/$file
+ fi
+ done
+ ;;
+esac
+
+#DEBHELPER#