r27616 - in /desktop/unstable/gnome-keyring/debian: changelog gnome-keyring.postinst

joss at users.alioth.debian.org joss at users.alioth.debian.org
Sat Apr 16 16:50:23 UTC 2011


Author: joss
Date: Sat Apr 16 16:50:22 2011
New Revision: 27616

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=27616
Log:
Fail gracefully when capabilities are not supported.
Closes: #622875.

Modified:
    desktop/unstable/gnome-keyring/debian/changelog
    desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst

Modified: desktop/unstable/gnome-keyring/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-keyring/debian/changelog?rev=27616&op=diff
==============================================================================
--- desktop/unstable/gnome-keyring/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-keyring/debian/changelog [utf-8] Sat Apr 16 16:50:22 2011
@@ -1,6 +1,8 @@
 gnome-keyring (3.0.0-3) UNRELEASED; urgency=low
 
   * Break libgnome-keyring < 3.0.
+  * Fail gracefully when capabilities are not supported.
+    Closes: #622875.
 
  -- Josselin Mouette <joss at debian.org>  Sat, 16 Apr 2011 18:41:54 +0200
 

Modified: desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst?rev=27616&op=diff
==============================================================================
--- desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst [utf-8] (original)
+++ desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst [utf-8] Sat Apr 16 16:50:22 2011
@@ -5,9 +5,8 @@
 
 if [ "$1" = configure ]; then
     if which setcap > /dev/null && [ -e $PROGRAM ]; then
-        if ! setcap CAP_IPC_LOCK=ep $PROGRAM; then
+        if ! setcap CAP_IPC_LOCK=ep $PROGRAM >/dev/null 2>&1; then
             echo "Setting capabilities for gnome-keyring-daemon using Linux Capabilities failed."
-            exit 1
         fi
     fi
 fi




More information about the pkg-gnome-commits mailing list