source: pkg/main/gnome-games/trunk/debian/gnome-games.postrm @ 2314

Revision 2314, 2.6 KB checked in by alanbach-guest, 6 years ago (diff)

gnome-games updates, sync'd with Debian

Line 
1#! /bin/sh
2
3set -e
4if [ "$1" = "purge" ] ; then
5
6# remove empty/unused scorefiles
7
8SCORE_FILES=" \
9glines.scores \
10glines.Small.scores \
11glines.Medium.scores \
12glines.Large.scores \
13gnibbles.1.0.scores \
14gnibbles.1.1.scores \
15gnibbles.2.0.scores \
16gnibbles.2.1.scores \
17gnibbles.3.0.scores \
18gnibbles.3.1.scores \
19gnibbles.4.0.scores \
20gnibbles.4.1.scores \
21gnobots2.classic_robots-safe.scores \
22gnobots2.classic_robots.scores \
23gnobots2.classic_robots-super-safe.scores \
24gnobots2.nightmare-safe.scores \
25gnobots2.nightmare.scores \
26gnobots2.nightmare-super-safe.scores \
27gnobots2.robots2_easy-safe.scores \
28gnobots2.robots2_easy.scores \
29gnobots2.robots2_easy-super-safe.scores \
30gnobots2.robots2-safe.scores \
31gnobots2.robots2.scores \
32gnobots2.robots2-super-safe.scores \
33gnobots2.robots_with_safe_teleport-safe.scores \
34gnobots2.robots_with_safe_teleport.scores \
35gnobots2.robots_with_safe_teleport-super-safe.scores \
36gnome-stones.scores \
37gnometris.scores \
38gnome-xbill.scores \
39gnomine.Biiiig.scores \
40gnomine.Custom.scores \
41gnomine.Large.scores \
42gnomine.Medium.scores \
43gnomine.Small.scores \
44gnomine.Tiny.scores \
45gnotravex.2x2.scores \
46gnotravex.3x3.scores \
47gnotravex.4x4.scores \
48gnotravex.5x5.scores \
49gnotravex.6x6.scores \
50gnotski.1.scores \
51gnotski.2.scores \
52gnotski.3.scores \
53gnotski.4.scores \
54gnotski.5.scores \
55gnotski.6.scores \
56gnotski.7.scores \
57gnotski.8.scores \
58gnotski.9.scores \
59gnotski.10.scores \
60gnotski.11.scores \
61gnotski.12.scores \
62gnotski.13.scores \
63gnotski.14.scores \
64gnotski.15.scores \
65gnotski.16.scores \
66gnotski.17.scores \
67gnotski.18.scores \
68gnotski.19.scores \
69gnotski.20.scores \
70gnotski.21.scores \
71gnotski.22.scores \
72gnotski.23.scores \
73gnotski.24.scores \
74gnotski.25.scores \
75gnotski.26.scores \
76gnotski.27.scores \
77gnotski.28.scores \
78gnotski.29.scores \
79gnotski.30.scores \
80gnotski.31.scores \
81gnotski.32.scores \
82gnotski.33.scores \
83gnotski.34.scores \
84gnotski.35.scores \
85gnotski.36.scores \
86gnotski.37.scores \
87gtali.scores \
88gtali.Colors.scores \
89gtali.Regular.scores \
90iagno.b1.scores \
91iagno.b2.scores \
92iagno.b3.scores \
93iagno.w1.scores \
94iagno.w2.scores \
95iagno.w3.scores \
96mahjongg.bridges.scores \
97mahjongg.cloud.scores \
98mahjongg.confounding.scores \
99mahjongg.difficult.scores \
100mahjongg.dragon.scores \
101mahjongg.easy.scores \
102mahjongg.pyramid.scores \
103mahjongg.tictactoe.scores \
104mahjongg.ziggurat.scores \
105same-gnome.Large.scores \
106same-gnome.Medium.scores \
107same-gnome.Small.scores \
108same-gnome.scores"
109
110  for FILE in $SCORE_FILES; do
111        rm -f /var/games/$FILE
112  done
113
114  if [ -d /var/games ]; then
115        rmdir --ignore-fail-on-non-empty /var/games
116  fi
117
118fi
119
120#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.