aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <tb@debian.org>2006-05-27 15:34:02 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:35 -0800
commit7f1594d11d65ef86ecc41748619b2bd98c2c36ba (patch)
tree8c98ba218bbf7565fa51304cbbc0154422d83de5
parent0aec178b52e42086df31cc52558bba0ef22b8439 (diff)
downloadslib-7f1594d11d65ef86ecc41748619b2bd98c2c36ba.tar.gz
slib-7f1594d11d65ef86ecc41748619b2bd98c2c36ba.zip
Import Debian changes 3a3-2debian/3a3-2
slib (3a3-2) unstable; urgency=low * debian/postinst: If scm is installed, rebuild its slib catalog.
-rw-r--r--debian/changelog6
-rw-r--r--debian/postinst8
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 6879fa2..d367337 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+slib (3a3-2) unstable; urgency=low
+
+ * debian/postinst: If scm is installed, rebuild its slib catalog.
+
+ -- Thomas Bushnell, BSG <tb@debian.org> Sat, 27 May 2006 15:34:02 -0700
+
slib (3a3-1) unstable; urgency=low
* New upstream release. Change to guile.init for module correctness
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