prerm is in afterstep 2.2.12-11.1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
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 16 17 18 19 | #!/bin/sh
set -e
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper symlink_to_dir /usr/share/doc/afterstep /usr/share/doc/afterstep-data 2.2.12-4\~ -- "$@"
# End automatically added section
# Automatically added by dh_installwm/11.1.4ubuntu1
if [ "$1" = "remove" ]; then
update-alternatives --remove x-window-manager /usr/bin/afterstep
fi
# End automatically added section
if [ "$1" = "remove" ] ; then
rm -rf /var/lib/afterstep/menu
fi
exit 0
|