File: postrm

package info (click to toggle)
xdir 2.1-3
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 2,376 kB
  • ctags: 2,449
  • sloc: ansic: 30,140; makefile: 481; sh: 64
file content (23 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh

set -e
case "$1" in
    remove)
        if test -x /usr/bin/update-menus; then update-menus; fi
    ;;

    upgrade)
    ;;

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

    failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac