diff options
-rw-r--r-- | wicd.install | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/wicd.install b/wicd.install index 6bb3d3ae113b..d3bc93849707 100644 --- a/wicd.install +++ b/wicd.install @@ -1,5 +1,15 @@ PKGNAME=wicd +repo_info() { + echo + echo "=============================" + echo "You can download the package in repo:" + echo "[home_alextalker_aur_Arch_Extra]" + echo "SigLevel = Never" + echo 'Server = http://download.opensuse.org/repositories/home:/alextalker:/aur/Arch_Extra/$arch' + echo "=============================" +} + pre_remove () { for pyo in $(pacman -Qql $PKGNAME | grep \.py$ | sed 's|.py$|.pyo|g'); do if [ -f "$pyo" ]; then @@ -9,7 +19,7 @@ pre_remove () { } post_install() { - echo + repo_info echo "==> You need to restart the dbus service after " echo "==> upgrading wicd." echo "==> Disable networkmanager, dhcpcd or other networking " @@ -17,3 +27,7 @@ post_install() { echo echo "==> To run: wicd-cli or wicd-curses" } + +post_upgrade() { + repo_info +} |