blob: 639e2ac184562219a698ea1dd364347a9f776292 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
SCOREFILE="/var/games/methane.scores"
if [ "x$2" = "xPOST-INSTALL" ]; then
mkdir -p /var/games
touch $SCOREFILE
chown root:games $SCOREFILE
chmod 664 $SCOREFILE
fi
if [ "x$2" = "xPOST-DEINSTALL" ]; then
if [ ! -s $SCOREFILE ]; then
rm -f $SCOREFILE
fi
fi
|