File: postrm

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 (11 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

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

# Remove high score file on purge.
if [ "$1" = "purge" ]; then
	rm -f "$SCOREFILE"
	rmdir -p /var/lib/games/gravitywars 2>/dev/null || true
fi

#DEBHELPER#