File: postrm

package info (click to toggle)
aumix 2-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 844 kB
  • ctags: 562
  • sloc: ansic: 4,336; sh: 380; makefile: 196; sed: 93
file content (32 lines) | stat: -rw-r--r-- 517 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
# aumix postrm

set -e

case "$1" in
    remove)
        if [ -e /etc/aumixrc ]
        then
            echo "You may also want to remove /etc/aumixrc manually."
        fi
        ;;
    purge)
        ;;
    upgrade)
        ;;
    failed-upgrade)
        ;;
    abort-install)
        ;;
    abort-upgrade)
        ;;
    disappear)
        ;;
    *)
        echo "postrm called with unexpected argument '$1', ignored."
        ;;
esac

if test -x /usr/bin/update-menus ; then update-menus ; fi

exit 0