postinst is in gtali 1:3.4.1-0ubuntu1.
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 20 21 | #! /bin/sh
set -e
if [ "$1" = "configure" ] ; then
# gnome-games scores files get root:games
SCORE_FILES="gtali.Colors.scores gtali.Regular.scores"
if [ ! -d /var/games ]; then
mkdir /var/games
fi
for FILES in $SCORE_FILES; do
if [ -e /var/games/$FILES ]; then
continue
fi
touch /var/games/$FILES
chown root:games /var/games/$FILES
chmod 664 /var/games/$FILES
done
fi
|