/usr/share/debhelper/autoscripts/postrm-varlibrm-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 | dico_class="ispell"
dico_varlib_remove="#VARLIBRM#"
case "$1" in abort-install|remove)
if [ -d "/var/lib/$dico_class" ]; then
( cd "/var/lib/$dico_class" && rm -f $dico_varlib_remove )
fi
esac
|