[arch-commits] Commit in wicd/repos (3 files)

Daniel Isenmann daniel at archlinux.org
Mon Oct 19 19:32:47 UTC 2009


    Date: Monday, October 19, 2009 @ 15:32:47
  Author: daniel
Revision: 56118

Merged revisions 56117 via svnmerge from 
svn+ssh://daniel@gerolde.archlinux.org/srv/svn-packages/wicd/trunk

........
  r56117 | daniel | 2009-10-19 21:32:09 +0200 (Mon, 19 Oct 2009) | 2 lines
  
  upgpkg: wicd 1.6.2.2-3
      Fix FS#16414 - [wicd] Uninstalling leaves files in the filesystem that should be removed
........

Modified:
  wicd/repos/extra-x86_64/	(properties)
  wicd/repos/extra-x86_64/PKGBUILD
  wicd/repos/extra-x86_64/wicd.install

--------------+
 PKGBUILD     |    2 +-
 wicd.install |   10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)


Property changes on: wicd/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /wicd/trunk:1-52465
   + /wicd/trunk:1-56117

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-10-19 19:32:09 UTC (rev 56117)
+++ extra-x86_64/PKGBUILD	2009-10-19 19:32:47 UTC (rev 56118)
@@ -4,7 +4,7 @@
 
 pkgname=wicd
 pkgver=1.6.2.2
-pkgrel=2
+pkgrel=3
 pkgdesc="New and alternative wireless/wired network management utility"
 arch=('i686' 'x86_64')
 url="http://wicd.sourceforge.net/"

Modified: extra-x86_64/wicd.install
===================================================================
--- extra-x86_64/wicd.install	2009-10-19 19:32:09 UTC (rev 56117)
+++ extra-x86_64/wicd.install	2009-10-19 19:32:47 UTC (rev 56118)
@@ -1,3 +1,13 @@
+PKGNAME=wicd
+
+pre_remove () {
+    for pyo in $(pacman -Qql $PKGNAME  | grep \.py$ | sed 's|.py$|.pyo|g'); do
+        if [ -f "$pyo" ]; then
+            rm "$pyo"
+        fi
+    done
+}
+
 post_install() {
   echo
   echo "==> You need to restart the dbus service after "




More information about the arch-commits mailing list