[Pkg-octave-commit] r2674 - in octave/trunk/debian: . in
Rafael Laboissiere
rafael at alioth.debian.org
Fri Feb 13 18:44:23 UTC 2009
Author: rafael
Date: 2009-02-13 18:44:23 +0000 (Fri, 13 Feb 2009)
New Revision: 2674
Modified:
octave/trunk/debian/changelog
octave/trunk/debian/in/PACKAGE.postinst
Log:
Rebuild the pkg database at configure action
Modified: octave/trunk/debian/changelog
===================================================================
--- octave/trunk/debian/changelog 2009-02-12 16:13:00 UTC (rev 2673)
+++ octave/trunk/debian/changelog 2009-02-13 18:44:23 UTC (rev 2674)
@@ -1,3 +1,11 @@
+octave3.0 (1:3.0.4~rc3-4) UNRELEASED; urgency=low
+
+ * debian/in/PACKAGE.postinst: Rebuild the pkg database at configure
+ action, such that the octave_packages is guaranteed to exist when
+ octaveX.Y is installed
+
+ -- Rafael Laboissiere <rafael at debian.org> Fri, 13 Feb 2009 19:52:37 +0100
+
octave3.1 (3.1.52-2) experimental; urgency=low
* Sync with the stable branch
Modified: octave/trunk/debian/in/PACKAGE.postinst
===================================================================
--- octave/trunk/debian/in/PACKAGE.postinst 2009-02-12 16:13:00 UTC (rev 2673)
+++ octave/trunk/debian/in/PACKAGE.postinst 2009-02-13 18:44:23 UTC (rev 2674)
@@ -11,6 +11,11 @@
VERSION=@VERSION@
PRIORITY=@PRIORITY@
+rebuild_pkg_database () {
+ octave-$VERSION --silent --no-history --no-init-file \
+ --eval "pkg ('rebuild');"
+}
+
case "$1" in
configure)
#
@@ -26,11 +31,11 @@
--slave /usr/share/man/man1/$f.1.gz $f.1.gz \
/usr/share/man/man1/$f-$VERSION.1.gz
done
+ rebuild_pkg_database
;;
triggered)
- octave-$VERSION --silent --no-history --no-init-file \
- --eval "pkg ('rebuild');"
+ rebuild_pkg_database
;;
abort-upgrade|abort-remove|abort-deconfigure)
More information about the Pkg-octave-commit
mailing list