r16360 - in /desktop/unstable/cheese/debian: changelog cheese.postinst
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Sat Jun 28 20:16:47 UTC 2008
Author: lool
Date: Sat Jun 28 20:16:47 2008
New Revision: 16360
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16360
Log:
Rebuild scrollkeeper DB in postinst on upgrades from older versions; see
#488399.
Added:
desktop/unstable/cheese/debian/cheese.postinst
Modified:
desktop/unstable/cheese/debian/changelog
Modified: desktop/unstable/cheese/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/cheese/debian/changelog?rev=16360&op=diff
==============================================================================
--- desktop/unstable/cheese/debian/changelog (original)
+++ desktop/unstable/cheese/debian/changelog Sat Jun 28 20:16:47 2008
@@ -1,3 +1,10 @@
+cheese (2.22.2-3) unstable; urgency=low
+
+ * Rebuild scrollkeeper DB in postinst on upgrades from older versions; see
+ #488399.
+
+ -- Loic Minier <lool at dooz.org> Sat, 28 Jun 2008 22:16:00 +0200
+
cheese (2.22.2-2) unstable; urgency=low
* Run with --disable-scrollkeeper. Closes: #488399.
Added: desktop/unstable/cheese/debian/cheese.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/cheese/debian/cheese.postinst?rev=16360&op=file
==============================================================================
--- desktop/unstable/cheese/debian/cheese.postinst (added)
+++ desktop/unstable/cheese/debian/cheese.postinst Sat Jun 28 20:16:47 2008
@@ -1,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# some version prior to 2.22.2-3 started shipping /var/lib/scrollkeeper
+# erroneously, hence the database was overwritten and needs a full rebuild
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "2.22.2-3" && which scrollkeeper-rebuilddb >/dev/null 2>&1; then
+ echo "Upgrade from broken Cheese version detected, running scrollkeeper-rebuilddb..."
+ scrollkeeper-rebuilddb -q
+fi
+
+#DEBHELPER#
+
More information about the pkg-gnome-commits
mailing list