This file is indexed.

prerm is in afterstep 2.2.12-6.

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
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
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