r11771 - in /packages/experimental/update-manager/debian: changelog patches/01_fhs_script_location.diff

kov at users.alioth.debian.org kov at users.alioth.debian.org
Mon Jul 2 23:44:49 UTC 2007


Author: kov
Date: Mon Jul  2 23:44:49 2007
New Revision: 11771

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11771
Log:
enable update-manager to find itself (oops) by changing the paths
it uses to /usr/sbin/update-manager

Modified:
    packages/experimental/update-manager/debian/changelog
    packages/experimental/update-manager/debian/patches/01_fhs_script_location.diff

Modified: packages/experimental/update-manager/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/update-manager/debian/changelog?rev=11771&op=diff
==============================================================================
--- packages/experimental/update-manager/debian/changelog (original)
+++ packages/experimental/update-manager/debian/changelog Mon Jul  2 23:44:49 2007
@@ -3,7 +3,12 @@
   [ Alan Baghumian ]
   * Wrapped deps and build-deps
 
- -- Gustavo Noronha Silva <kov at debian.org>  Mon, 02 Jul 2007 20:26:40 -0300
+  [ Gustavo Noronha Silva ]
+  * debian/patches/01_fhs_script_location.diff:
+  - updated to include places where update-manager itself calls
+    itself
+
+ -- Gustavo Noronha Silva <kov at debian.org>  Mon, 02 Jul 2007 20:28:22 -0300
 
 update-manager (0.64-1) experimental; urgency=low
 

Modified: packages/experimental/update-manager/debian/patches/01_fhs_script_location.diff
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/experimental/update-manager/debian/patches/01_fhs_script_location.diff?rev=11771&op=diff
==============================================================================
--- packages/experimental/update-manager/debian/patches/01_fhs_script_location.diff (original)
+++ packages/experimental/update-manager/debian/patches/01_fhs_script_location.diff Mon Jul  2 23:44:49 2007
@@ -9,3 +9,25 @@
  Icon=update-manager
  Terminal=false
  Type=Application
+--- DistUpgrade/DistUpgradeApport.py    2007-04-24 13:56:57.000000000 -0300
++++ DistUpgrade/DistUpgradeApport.py        2007-07-02 20:22:37.000000000 -0300
+@@ -14,7 +14,7 @@
+         logging.error("failed to import apport python module, can't report bug: %s" % e)
+         return False
+     # we pretend we are update-manager
+-    sys.argv[0] = "/usr/bin/update-manager"
++    sys.argv[0] = "/usr/sbin/update-manager"
+     apport_excepthook(type, value, tb)
+     # now add the files in /var/log/dist-upgrade/*
+     if os.path.exists('/var/crash/_usr_bin_update-manager.0.crash'):
+--- UpdateManager/UpdateManager.py      2007-06-13 07:51:17.000000000 -0300
++++ UpdateManager/UpdateManager.py  2007-07-02 20:22:37.000000000 -0300
+@@ -997,7 +997,7 @@
+           os.execl("/usr/bin/gksu",
+                    "/usr/bin/gksu", "--desktop",
+                    "/usr/share/applications/update-manager.desktop",
+-                   "--", "/usr/bin/update-manager", "--dist-upgrade")
++                   "--", "/usr/sbin/update-manager", "--dist-upgrade")
+ 
+   def check_metarelease(self):
+       " check for new meta-release information "




More information about the pkg-gnome-commits mailing list