summaryrefslogtreecommitdiff
path: root/r-doc-scripts/r-doc-info.postinst
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2009-09-02 04:57:22 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2009-09-02 04:57:22 +0000
commitdc22033affd1d3544764f61170aec9cf3adeb941 (patch)
tree0a75f22669057813db51bf41ecf1cca526aeeda2 /r-doc-scripts/r-doc-info.postinst
parent049d0e3fce8aec5b6734366728fff1dd3a1e235d (diff)
Updated scripts for backporting of R 2.9.2
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@60 f247ebf9-aa24-0410-a698-f940e971ad2b
Diffstat (limited to 'r-doc-scripts/r-doc-info.postinst')
-rw-r--r--r-doc-scripts/r-doc-info.postinst27
1 files changed, 27 insertions, 0 deletions
diff --git a/r-doc-scripts/r-doc-info.postinst b/r-doc-scripts/r-doc-info.postinst
new file mode 100644
index 0000000..77832e4
--- /dev/null
+++ b/r-doc-scripts/r-doc-info.postinst
@@ -0,0 +1,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