File: njam.postrm

package info (click to toggle)
njam 1.25-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,376 kB
  • sloc: cpp: 3,810; sh: 2,958; perl: 384; ansic: 236; objc: 224; makefile: 112
file content (16 lines) | stat: -rw-r--r-- 233 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
if [ "$1" = "purge" ] ; then

# remove empty/unused scorefiles

SCORE="njam-hiscore.dat"

  if [ -f /var/games/$SCORE ]; then
    rm -f /var/games/$SCORE
    rm -f /usr/share/games/njam/$SCORE
  fi
fi

#DEBHELPER#