summaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst14
1 files changed, 12 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst
index b298e51..2e719ac 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -3,5 +3,15 @@ set -e
install-info --quiet --section "Development" "Development" \
--description="The SLIB portable Scheme library" \
- /usr/info/slib.info.gz
-# /usr/sbin/slibconfig
+ /usr/share/info/slib.info.gz
+
+# OK. This is bad because it really should be in the guile config or in some
+# emacs-commond sort of package.
+#/usr/sbin/slibconfig
+
+if [ "$1" = "configure" ]; then
+ if [ -d /usr/doc -a ! -e /usr/doc/slib -a -d /usr/share/doc/slib ]; then
+ ln -sf ../share/doc/slib /usr/doc/slib
+ fi
+fi
+