Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 5 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | # the debian-policy package |
17 | # the debian-policy package |
18 | 18 | ||
19 | ICONDIR=/etc/X11/cursors |
19 | ICONDIR=/etc/X11/cursors |
20 | 20 | ||
21 | case "$1" in |
21 | case "$1" in |
22 | remove|upgrade|deconfigure) |
22 | remove|deconfigure) |
23 | for theme in `find $ICONDIR -regex '.*crystal\(blue\|gray\|green\|white\).*theme$'`; do |
23 | for theme in `find $ICONDIR -regex '.*crystal\(blue\|gray\|green\|white\).*theme$'`; do |
24 | update-alternatives --remove x-cursor-theme $theme |
24 | update-alternatives --remove x-cursor-theme $theme |
25 | done |
25 | done |
26 | ;; |
26 | ;; |
27 | failed-upgrade) |
27 | upgrade|failed-upgrade) |
28 | ;; |
28 | ;; |
29 | *) |
29 | *) |
30 | echo "prerm called with unknown argument \`$1'" >&2 |
30 | echo "prerm called with unknown argument \`$1'" >&2 |
31 | exit 1 |
31 | exit 1 |
32 | ;; |
32 | ;; |