File: postinst

package info (click to toggle)
gravitywars 1.102-13
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,020 kB
  • ctags: 289
  • sloc: ansic: 3,163; makefile: 71; sh: 13
file content (13 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

SCOREFILE=/var/lib/games/gravitywars/hscore.gw

if [ ! -e "$SCOREFILE" ]; then
	touch "$SCOREFILE"
fi

# Make sure the file has the right permissions
chown root.games /var/lib/games/gravitywars/hscore.gw
chmod 664 /var/lib/games/gravitywars/hscore.gw

#DEBHELPER#