File: postrm

package info (click to toggle)
vm 6.47-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,704 kB
  • ctags: 1,521
  • sloc: lisp: 22,580; makefile: 260; sh: 201
file content (29 lines) | stat: -rw-r--r-- 612 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
#! /bin/sh

set -e
case "$1" in
    remove)
        if test -x /usr/bin/update-menus; then update-menus; fi
	if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then
	    /usr/lib/emacsen-common/emacs-package-remove vm
	fi
    ;;

    upgrade)
    ;;

    purge)
	if test -x /usr/bin/update-menus; then update-menus; fi
	if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then
	    /usr/lib/emacsen-common/emacs-package-remove vm
	fi
    ;;

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

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