File: preinst

package info (click to toggle)
toppler 1.3-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,868 kB
  • sloc: cpp: 8,979; ansic: 2,349; makefile: 402; sh: 24
file content (20 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /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

#DEBHELPER#