prerm is in jed 1:0.99.19-7.
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 | #!/bin/sh
set -e
if test "$1" != upgrade
then
update-alternatives --remove editor /usr/bin/jed
update-alternatives --remove jed-script /usr/bin/jed
fi
#tidy up compiled jed-common and jed-extra files
run-parts --exit-on-error --arg=remove /usr/share/jed/compile/
|