File: postrm

package info (click to toggle)
cxhextris 1.0-11
  • links: PTS
  • area: main
  • in suites: slink
  • size: 184 kB
  • ctags: 282
  • sloc: ansic: 1,270; makefile: 267; sh: 17
file content (15 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

SCOREFILE=/var/lib/games/xhextris-scores

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

#DEBHELPER#

if [ -f /usr/X11R6/bin/mkfontdir ]; then
	(cd /usr/X11R6/lib/X11/fonts/misc; /usr/X11R6/bin/mkfontdir)
fi