summaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index d93fe02..aa235c4 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -11,6 +11,12 @@ install-info --quiet --section "The Algorithmic Language Scheme" \
--description="SCM Language X Interface" \
/usr/share/info/Xlibscm.info.gz
+# doc base support
+if [ "$1" = configure ]; then
+ if test -x /usr/sbin/install-docs >/dev/null 2>&1; then
+ /usr/sbin/install-docs -i /usr/share/doc-base/scm
+ fi
+fi
rm -f /usr/lib/scm/slibcat
/usr/bin/scm -c "(require 'new-catalog)"