File: postrm

package info (click to toggle)
auto-pgp 1.04-1
  • links: PTS
  • area: contrib
  • in suites: hamm
  • size: 176 kB
  • ctags: 92
  • sloc: perl: 498; lisp: 452; makefile: 115; ansic: 103; sh: 87
file content (26 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (2)
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
#!/bin/sh
#
# This is the postrm script for the Debian GNU/Linux auto-pgp package
#
# Written by Dirk Eddelbuettel <edd@debian.org>   

set -e

case "$1" in
    upgrade)
	exit 0
	;;
    remove|purge)
	# update info
	install-info --quiet --remove /usr/info/auto-pgp.info.gz
	exit 0               
	;;
    failed-upgrade|abort-install|abort-upgrade|disappear)
	exit 0
	;;
    *)
	echo "postrm called with unknown argument \`$1'" >&2
	exit 0
	;;
esac