From 1103cc2d299a0f29631f9f5322d93efcca8098c7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 19:44:13 +0200 Subject: Adding debian version 2:2.3.7-1+deb11u1. Signed-off-by: Daniel Baumann --- debian/cryptsetup-initramfs.postinst | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 debian/cryptsetup-initramfs.postinst (limited to 'debian/cryptsetup-initramfs.postinst') diff --git a/debian/cryptsetup-initramfs.postinst b/debian/cryptsetup-initramfs.postinst new file mode 100644 index 0000000..94df336 --- /dev/null +++ b/debian/cryptsetup-initramfs.postinst @@ -0,0 +1,39 @@ +#! /bin/sh + +set -e + +# needed for debconf magic in prerm script +. /usr/share/debconf/confmodule + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +case "$1" in + configure) + + if which update-initramfs >/dev/null; then + update-initramfs -u + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# -- cgit v1.2.3