aboutsummaryrefslogtreecommitdiff
path: root/development/mit-scheme/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/mit-scheme/doinst.sh')
-rw-r--r--development/mit-scheme/doinst.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/development/mit-scheme/doinst.sh b/development/mit-scheme/doinst.sh
index f3605d4eeb4eb..9670c925ff9b3 100644
--- a/development/mit-scheme/doinst.sh
+++ b/development/mit-scheme/doinst.sh
@@ -1,3 +1,7 @@
-if [ -x /usr/bin/install-info ]; then
- chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/blah.gz 2> /dev/null
-fi
+info_install() {
+ INFO="$1"
+ if [ -x /usr/bin/install-info ]; then
+ chroot . /usr/bin/install-info --info-dir=/usr/info $INFO 2> /dev/null
+ fi
+}
+