summaryrefslogtreecommitdiff
path: root/r-doc-scripts/r-doc-info.postinst
blob: 77832e4f8f12f0b1e6cba78f67eb4ad518773da3 (plain) (blame)
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
#!/bin/sh
#
# postinst script for the Debian GNU/Linux r-doc-info 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
    configure)
	install-info --quiet --section "Programming" "R-FAQ" /usr/share/info/R-FAQ.info
	install-info --quiet --section "Programming" "R-admin" /usr/share/info/R-admin.info
	install-info --quiet --section "Programming" "R-data" /usr/share/info/R-data.info
	install-info --quiet --section "Programming" "R-exts" /usr/share/info/R-exts.info
	install-info --quiet --section "Programming" "R-intro" /usr/share/info/R-intro.info
	install-info --quiet --section "Programming" "R-ints" /usr/share/info/R-ints.info
	install-info --quiet --section "Programming" "R-lang" /usr/share/info/R-lang.info

    ;;
    abort-upgrade|abort-remove|abort-deconfigure)
    ;;
    *)
	echo "postinst called with unknown argument \`$1'" >&2
    ;;
esac

Contact - Imprint