File: postinst

package info (click to toggle)
rockdodger 1.1.4-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,428 kB
  • sloc: ansic: 5,871; makefile: 161; sh: 21
file content (16 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

SCOREFILE='/var/games/rockdodger.scores'

touch "$SCOREFILE"
chmod 664 "$SCOREFILE"
chown root:games "$SCOREFILE"

if [ "$1" = "configure" ] && [ -x "`which update-menus 2> /dev/null`" ]
then
	update-menus
fi

exit 0