ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/wbritish.postrm

26 lines
704 B
Bash
Executable File

#!/bin/sh
set -e
# Automatically added by dh_installdebconf/13.5.2ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
# Automatically added by installdeb-wordlist/UNDECLARED
rmscript="remove-default-wordlist"
case "$1" in abort-install|remove)
if command -v $rmscript >/dev/null; then
$rmscript wbritish
else
echo "Warning: $rmscript not present or executable." >&2
fi
# Remove shared question stuff on package removal, not only on purge
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
esac
# End automatically added section