From edee58e75c1715e38c92b310bf8d996cc4951f78 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 16:14:45 +0200 Subject: Adding debian version 4+nmu1. Signed-off-by: Daniel Baumann --- debian/cryptsetup-nuke-password.postrm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/cryptsetup-nuke-password.postrm (limited to 'debian/cryptsetup-nuke-password.postrm') diff --git a/debian/cryptsetup-nuke-password.postrm b/debian/cryptsetup-nuke-password.postrm new file mode 100644 index 0000000..f6d4956 --- /dev/null +++ b/debian/cryptsetup-nuke-password.postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + dpkg-divert --rename --package cryptsetup-nuke-password \ + --divert /lib/cryptsetup/askpass.cryptsetup \ + --remove /lib/cryptsetup/askpass +elif [ "$1" = "purge" ]; then + rm -rf /etc/cryptsetup-nuke-password +fi + +#DEBHELPER# -- cgit v1.2.3