From 7f1594d11d65ef86ecc41748619b2bd98c2c36ba Mon Sep 17 00:00:00 2001 From: "Thomas Bushnell, BSG" Date: Sat, 27 May 2006 15:34:02 -0700 Subject: Import Debian changes 3a3-2 slib (3a3-2) unstable; urgency=low * debian/postinst: If scm is installed, rebuild its slib catalog. --- debian/changelog | 6 ++++++ debian/postinst | 8 ++++++++ 2 files changed, 14 insertions(+) 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 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 -- cgit v1.2.3