File: postrm

package info (click to toggle)
bsdgames-nonfree 2.17-10
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 1,652 kB
  • sloc: ansic: 9,985; sh: 1,185; makefile: 23
file content (14 lines) | stat: -rw-r--r-- 189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

VARDIR=/var/games/bsdgames-nonfree
SCOREFILES="$VARDIR/rogue.scores"

# Remove high score files on purge.
if [ "$1" = "purge" ]; then
	rm -f $SCOREFILES
fi


#DEBHELPER#