postinst is in tigervnc-standalone-server 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" = "configure" ]; then
bindir=/usr/bin
mandir=/usr/share/man
for tiger in tigervncserver Xtigervnc; do
notiger=`echo $tiger | sed -e 's/tiger//'`;
update-alternatives --install $bindir/$notiger $notiger $bindir/$tiger 80 \
--slave $mandir/man1/$notiger.1.gz $notiger.1.gz $mandir/man1/$tiger.1.gz
done
fi
exit 0
|