r21692 - in /desktop/unstable/gvfs/debian: changelog gvfs.postinst

joss at users.alioth.debian.org joss at users.alioth.debian.org
Tue Sep 29 20:24:03 UTC 2009


Author: joss
Date: Tue Sep 29 20:24:03 2009
New Revision: 21692

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=21692
Log:
gvfs.postinst: add big fat warning asking to restart the session 
after the upgrade. Closes: #548898.

Added:
    desktop/unstable/gvfs/debian/gvfs.postinst
Modified:
    desktop/unstable/gvfs/debian/changelog

Modified: desktop/unstable/gvfs/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gvfs/debian/changelog?rev=21692&op=diff
==============================================================================
--- desktop/unstable/gvfs/debian/changelog [utf-8] (original)
+++ desktop/unstable/gvfs/debian/changelog [utf-8] Tue Sep 29 20:24:03 2009
@@ -1,6 +1,8 @@
 gvfs (1.4.0-2) UNRELEASED; urgency=low
 
   * Do not build-depend on libudev on !linux.
+  * gvfs.postinst: add big fat warning asking to restart the session 
+    after the upgrade. Closes: #548898.
 
  -- Josselin Mouette <joss at debian.org>  Thu, 24 Sep 2009 17:41:49 +0200
 

Added: desktop/unstable/gvfs/debian/gvfs.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gvfs/debian/gvfs.postinst?rev=21692&op=file
==============================================================================
--- desktop/unstable/gvfs/debian/gvfs.postinst (added)
+++ desktop/unstable/gvfs/debian/gvfs.postinst [utf-8] Tue Sep 29 20:24:03 2009
@@ -1,0 +1,19 @@
+#! /bin/sh
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl 1.4.0; then
+  if pgrep ^gvfsd$ > /dev/null; then
+    cat << EOF
+************************* WARNING *************************
+** The gvfs protocol has changed in an incompatible way. **
+** You need to RESTART YOUR SESSION AS SOON AS POSSIBLE, **
+** otherwise your applications will start crashing.      **
+***********************************************************
+EOF
+  fi
+fi
+
+exit 0
+




More information about the pkg-gnome-commits mailing list