File: prerm

package info (click to toggle)
xgobi 19991006-1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 3,788 kB
  • ctags: 4,525
  • sloc: ansic: 51,806; makefile: 576; asm: 367; sh: 52
file content (33 lines) | stat: -rw-r--r-- 724 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
#!/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|deconfigure)
	if [ -f /usr/lib/R/library/LibIndex ]
	then
	    rm -f /usr/lib/R/library/LibIndex   || true
	    rm -f /usr/lib/R/library/index.html || true
	fi
        #
# 	if command -v install-docs >/dev/null 2>&1 
# 	then
# 	    install-docs -r xgobi-manual
# 	    install-docs -r xgvis-manual
#         fi
	exit 0               
	;;
    failed-upgrade)
	;;
    *)
	echo "prerm called with unknown argument \`$1'" >&2
	exit 0
    ;;
esac