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 " echo "==> upgrading wicd." echo "==> Disable networkmanager,dhcdbd or other networking " echo "==> utility and add 'wicd' to DAEMONS " echo "==> in /etc/rc.conf" echo "==> 'dbus' HAS to be before 'wicd' in rc.conf in the " echo "==> DAEMONS array." echo "==> Wireless Interface Connection Daemon" echo echo "==> To run: wicd-client" }