/usr/share/debhelper/autoscripts/postrm-ispell is in dictionaries-common-dev 1.20.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | rmscript="remove-default-ispell"
case "$1" in abort-install|remove)
if which $rmscript > /dev/null 2>&1; then
$rmscript #PACKAGE#
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
|