File: postrm

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

set -e

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

if [ "$1" = 'purge' ]
then
	rm -f "$SCOREFILE"
fi

if [ -x "`which update-menus 2> /dev/null`" ]
then
	update-menus
fi

exit 0