summaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 7a50001..7aa2898 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -23,6 +23,14 @@ if [ -x /usr/bin/guile-1.6 -a -e /usr/share/guile/1.6/slib ] ; then
fi
fi
+if [ -x /usr/bin/scm ] ; then
+ rm -f /usr/lib/scm/slibcat
+ /usr/bin/scm -c "(require 'new-catalog)"
+ if [ -e /usr/lib/scm/slibcat ] ; then
+ chmod 644 /usr/lib/scm/slibcat
+ fi
+fi
+
# doc base support
if [ "$1" = configure ]; then
if command -v install-docs >/dev/null 2>&1; then