#!/bin/sh set -e if [ "$1" = "remove" ]; then dpkg-divert --rename --package cryptsetup-nuke-password \ --divert /usr/lib/cryptsetup/askpass.cryptsetup \ --remove /usr/lib/cryptsetup/askpass elif [ "$1" = "purge" ]; then rm -rf /etc/cryptsetup-nuke-password fi #DEBHELPER#