r20162 - /desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst

joss at users.alioth.debian.org joss at users.alioth.debian.org
Fri May 29 10:09:10 UTC 2009


Author: joss
Date: Fri May 29 10:09:10 2009
New Revision: 20162

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=20162
Log:
[brown paper bag] It’s configure, not install

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

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=20162&op=diff
==============================================================================
--- desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst (original)
+++ desktop/unstable/gnome-keyring/debian/gnome-keyring.postinst Fri May 29 10:09:10 2009
@@ -1,11 +1,8 @@
 #! /bin/sh
 set -e
 
-case "$1" in
-install|upgrade)
-    if dpkg --compare-versions "$2" le-nl "2.26.1-1"; then
-        rm -f /etc/xdg/autostart/gnome-keyring-daemon.desktop
-    fi
-esac
+if [ "$1" = configure ] && dpkg --compare-versions "$2" le-nl "2.26.1-1"; then
+    rm -f /etc/xdg/autostart/gnome-keyring-daemon.desktop
+fi
 
 #DEBHELPER#




More information about the pkg-gnome-commits mailing list