File: cryptsetup-nuke-password.preinst

package info (click to toggle)
cryptsetup-nuke-password 4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 144 kB
  • sloc: sh: 452; ansic: 128; makefile: 20
file content (11 lines) | stat: -rw-r--r-- 207 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
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#