r11132 - in /packages/unstable/accerciser/debian: accerciser.postinst changelog
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Thu May 24 08:39:05 UTC 2007
Author: lool
Date: Thu May 24 08:39:05 2007
New Revision: 11132
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11132
Log:
* Rebuild the scrollkeeper database on upgrade from broken versions;
closes: #425752.
Added:
packages/unstable/accerciser/debian/accerciser.postinst
Modified:
packages/unstable/accerciser/debian/changelog
Added: packages/unstable/accerciser/debian/accerciser.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/accerciser/debian/accerciser.postinst?rev=11132&op=file
==============================================================================
--- packages/unstable/accerciser/debian/accerciser.postinst (added)
+++ packages/unstable/accerciser/debian/accerciser.postinst Thu May 24 08:39:05 2007
@@ -1,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# initial versions in Debian started shipping /var/lib/scrollkeeper
+# erroneously, hence the database was overwritten and needs a full rebuild
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "0.1.2-8 " && which scrollkeeper-rebuilddb >/dev/null 2>&1; then
+ echo "Upgrade from broken accerciser version detected, running scrollkeeper-rebuilddb..."
+ scrollkeeper-rebuilddb -q
+fi
+
+#DEBHELPER#
+
Modified: packages/unstable/accerciser/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/accerciser/debian/changelog?rev=11132&op=diff
==============================================================================
--- packages/unstable/accerciser/debian/changelog (original)
+++ packages/unstable/accerciser/debian/changelog Thu May 24 08:39:05 2007
@@ -3,6 +3,8 @@
* Track all branches in watch file.
* Bump up Debhelper compatibility level to 5.
* Force executable bit on files looking like Python scripts.
+ * Rebuild the scrollkeeper database on upgrade from broken versions;
+ closes: #425752.
-- Loic Minier <lool at dooz.org> Thu, 24 May 2007 10:36:51 +0200
More information about the pkg-gnome-commits
mailing list