diff options
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/debian/postinst b/debian/postinst index 2e719ac..847a44a 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,13 +1,19 @@ #!/bin/sh set -e -install-info --quiet --section "Development" "Development" \ +install-info --quiet --section "The Algorithmic Language Scheme" \ + "The Algorithmic Language Scheme" \ --description="The SLIB portable Scheme library" \ /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 +# OK. This is bad because it really should be in the guile config or +# in some emacs-commond sort of package. Now we conditionally run it. +# one of these probably shouldn't exist, but don't know which and +# probably shourld support the older. +if [ -x /usr/sbin/guile1.4-slibconfig ] ; then + echo Running /usr/sbin/guile1.4-slibconfig + /usr/sbin/guile1.4-slibconfig +fi if [ "$1" = "configure" ]; then if [ -d /usr/doc -a ! -e /usr/doc/slib -a -d /usr/share/doc/slib ]; then @@ -15,3 +21,9 @@ if [ "$1" = "configure" ]; then fi fi +# doc base support +if [ "$1" = configure ]; then + if command -v install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/slib + fi +fi |