prerm is in tigervnc-viewer 1.7.0+dfsg-8ubuntu2.
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 | #!/bin/sh
set -e
if [ "$1" = "remove" ] ; then
bindir=/usr/bin
mandir=/usr/share/man
for tiger in xtigervncviewer; do
notiger=`echo $tiger | sed -e 's/tiger//'`;
noxtiger=${notiger#x};
update-alternatives --remove $noxtiger $bindir/$tiger
done
fi
exit 0
|