File: preinst

package info (click to toggle)
toppler 1.1.6-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 4,404 kB
  • sloc: sh: 11,572; cpp: 8,767; ansic: 373; makefile: 133; sed: 16
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#