r12682 - in /desktop/unstable/glade-3/debian: changelog glade.preinst
svena-guest at users.alioth.debian.org
svena-guest at users.alioth.debian.org
Fri Sep 21 22:29:23 UTC 2007
Author: svena-guest
Date: Fri Sep 21 22:29:22 2007
New Revision: 12682
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=12682
Log:
* debian/glade.preinst
- remove symlink on upgrade (Closes: #443260)
Added:
desktop/unstable/glade-3/debian/glade.preinst
Modified:
desktop/unstable/glade-3/debian/changelog
Modified: desktop/unstable/glade-3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glade-3/debian/changelog?rev=12682&op=diff
==============================================================================
--- desktop/unstable/glade-3/debian/changelog (original)
+++ desktop/unstable/glade-3/debian/changelog Fri Sep 21 22:29:22 2007
@@ -9,7 +9,11 @@
* Fix URL in copyright.
* Don't include autotools.mk as it's already included by gnome.mk.
- -- Loic Minier <lool at dooz.org> Sun, 16 Sep 2007 20:18:22 +0200
+ [ Sven Arvidsson ]
+ * debian/glade.preinst
+ - remove symlink on upgrade (Closes: #443260)
+
+ -- Sven Arvidsson <sa at whiz.se> Sat, 22 Sep 2007 00:19:41 +0200
glade-3 (3.2.2-1) unstable; urgency=low
Added: desktop/unstable/glade-3/debian/glade.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glade-3/debian/glade.preinst?rev=12682&op=file
==============================================================================
--- desktop/unstable/glade-3/debian/glade.preinst (added)
+++ desktop/unstable/glade-3/debian/glade.preinst Fri Sep 21 22:29:22 2007
@@ -1,0 +1,27 @@
+#!/bin/sh
+
+set -e
+
+action="$1"
+
+case "$action" in
+ upgrade)
+ version="$2"
+
+ # remove symlink from versions older than 2.91.3+CVS20060621-1 manually
+ # on upgrades
+ if dpkg --compare-versions "$version" lt 2.91.3+CVS20060621-1; then
+ rm -f /usr/share/doc/glade
+ fi
+ ;;
+
+ install|abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$action'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
More information about the pkg-gnome-commits
mailing list