summarylogtreecommitdiffstats
path: root/wicd.install
diff options
context:
space:
mode:
authorAdrien Sohier2015-06-08 15:30:32 +0200
committerAdrien Sohier2015-06-08 15:30:32 +0200
commitd40f2607b76fa6030e1ecb27eccc96ab31e3bc9d (patch)
tree2a2d2ca90d9f4ea08a0c1b68d13f602bc308065d /wicd.install
downloadaur-d40f2607b76fa6030e1ecb27eccc96ab31e3bc9d.tar.gz
init
Diffstat (limited to 'wicd.install')
-rw-r--r--wicd.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/wicd.install b/wicd.install
new file mode 100644
index 00000000000..6bb3d3ae113
--- /dev/null
+++ b/wicd.install
@@ -0,0 +1,19 @@
+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, dhcpcd or other networking "
+ echo "==> utility and add 'wicd' to your systemd configuration."
+ echo
+ echo "==> To run: wicd-cli or wicd-curses"
+}