preinst is in toppler 1.1.6-2build1.
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
# postrm script for toppler
set -e
case "$1" in
install)
GAMES="/var/games/"
DIR="$GAMES/toppler"
FILE="$DIR/toppler.hsc"
install -d -m 0755 $GAMES
install -d -m 0775 $DIR
chown root:games $DIR
touch $FILE
chown root:games $FILE
chmod 0664 $FILE
esac
|