File: postrm

package info (click to toggle)
xgobi 19991216-2
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 3,856 kB
  • ctags: 4,723
  • sloc: ansic: 52,766; makefile: 669; asm: 365; sh: 35
file content (36 lines) | stat: -rw-r--r-- 731 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
33
34
35
36
#!/bin/sh
#
# postinst script for the Debian GNU/Linux acct package
#
# Initial version written by Douglas Bates <bates@stat.wisc.edu>
# This version written by Dirk Eddelbuettel <edd@debian.org>   

set -e

#DEBHELPER#

case "$1" in
    remove|purge)
	# update R documentation if R is installed
# 	if [ -x /usr/lib/R/bin/build-help ]
# 	then
# 	    (cd /usr/lib/R/library; \
# 		cat */TITLE > LibIndex; \
# 		../bin/build-help --htmllist)
# 	fi
#         # update menus
#         if test -x /usr/bin/update-menus
#         then 
#             update-menus
#         fi
	;;
    upgrade)
	;;
    failed-upgrade|abort-install|abort-upgrade|disappear)
	;;
    *)
	echo "postrm called with unknown argument \`$1'" >&2
	;;
esac

exit 0