Debian Codegraph @

debian/crossfire-server.postinst

raw
1 #! /bin/sh -e
2
3 case "$1" in
4 configure)
5 if [ ! -e /var/games/crossfire/clockdata ] ; then
6 echo -n 0 > /var/games/crossfire/clockdata
7 chmod 0644 /var/games/crossfire/clockdata
8 chown games:games /var/games/crossfire/clockdata
9 fi
10 ;;
11
12 abort-upgrade)
13 # do nothing
14 ;;
15
16 abort-remove)
17 # do nothing
18 ;;
19
20 abort-deconfigure)
21 # do nothing
22 ;;
23
24 *)
25 echo "$0: incorrect arguments: $*" >&2
26 exit 1
27 ;;
28
29 esac
30
31 #DEBHELPER#