diff options
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst index f544d8c..aa12961 100644 --- a/debian/postinst +++ b/debian/postinst @@ -3,4 +3,10 @@ set -e install-info --quiet --section "Development" "Development" \ --description="A Scheme language interpreter" \ - /usr/info/scm.info.gz + /usr/share/info/scm.info.gz + +if [ "$1" = "configure" ]; then + if [ -d /usr/doc -a ! -e /usr/doc/scm -a -d /usr/share/doc/scm ]; then + ln -sf ../share/doc/scm /usr/doc/scm + fi +fi |