diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 14:14:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 14:14:45 +0000 |
commit | edee58e75c1715e38c92b310bf8d996cc4951f78 (patch) | |
tree | 8d673113d422f5b40ba646c504e0ffd10fc8904d /debian/cryptsetup-nuke-password.postrm | |
parent | Adding upstream version 4+nmu1. (diff) | |
download | cryptsetup-nuke-password-edee58e75c1715e38c92b310bf8d996cc4951f78.tar.xz cryptsetup-nuke-password-edee58e75c1715e38c92b310bf8d996cc4951f78.zip |
Adding debian version 4+nmu1.debian/4+nmu1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/cryptsetup-nuke-password.postrm')
-rw-r--r-- | debian/cryptsetup-nuke-password.postrm | 13 |
1 files changed, 13 insertions, 0 deletions
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# |