prerm is in gcj-4.8-jre-headless 4.8.5-4ubuntu2.
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 | #! /bin/sh -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --quiet --remove java /usr/bin/gij-4.8
update-alternatives --quiet --remove rmiregistry /usr/bin/grmiregistry-4.8
update-alternatives --quiet --remove keytool /usr/bin/gkeytool-4.8
update-alternatives --quiet --remove orbd /usr/bin/gorbd-4.8
update-alternatives --quiet --remove rmid /usr/bin/grmid-4.8
fi
exit 0
|