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.preinst | |
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.preinst')
-rw-r--r-- | debian/cryptsetup-nuke-password.preinst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/cryptsetup-nuke-password.preinst b/debian/cryptsetup-nuke-password.preinst new file mode 100644 index 0000000..7836282 --- /dev/null +++ b/debian/cryptsetup-nuke-password.preinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "install" ]; then + dpkg-divert --rename --package cryptsetup-nuke-password \ + --divert /lib/cryptsetup/askpass.cryptsetup \ + --add /lib/cryptsetup/askpass +fi + +#DEBHELPER# |