prerm is in vnc4server 4.1.1+xorg4.3.0-37.3ubuntu2.
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 -e
if [ "$1" = "remove" ] ; then
BIN=/usr/bin
update-alternatives --remove \
vncserver $BIN/vnc4server
update-alternatives --remove \
Xvnc $BIN/Xvnc4
update-alternatives --remove \
x0vncserver $BIN/x0vnc4server
update-alternatives --remove \
vncpasswd $BIN/vnc4passwd
update-alternatives --remove \
vncconfig $BIN/vnc4config
fi
exit 0
|