[arch-commits] Commit in wicd/trunk (PKGBUILD wicd.install)
Daniel Isenmann
daniel at archlinux.org
Mon Oct 19 19:32:09 UTC 2009
Date: Monday, October 19, 2009 @ 15:32:09
Author: daniel
Revision: 56117
upgpkg: wicd 1.6.2.2-3
Fix FS#16414 - [wicd] Uninstalling leaves files in the filesystem that should be removed
Modified:
wicd/trunk/PKGBUILD
wicd/trunk/wicd.install
--------------+
PKGBUILD | 2 +-
wicd.install | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-19 19:27:30 UTC (rev 56116)
+++ PKGBUILD 2009-10-19 19:32:09 UTC (rev 56117)
@@ -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: wicd.install
===================================================================
--- wicd.install 2009-10-19 19:27:30 UTC (rev 56116)
+++ wicd.install 2009-10-19 19:32:09 UTC (rev 56117)
@@ -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