From 982d6c85707885bc8621b3172766cc1f4ca2f520 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Fri, 26 Aug 2016 11:50:16 +0200 Subject: [PATCH] be polite and wait for mhwd-live script https://bugs.manjaro.org/index.php?do=details&task_id=14 --- data/networkmanager/99_update_pamac_tray | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/networkmanager/99_update_pamac_tray b/data/networkmanager/99_update_pamac_tray index 7042895..0b8d48e 100755 --- a/data/networkmanager/99_update_pamac_tray +++ b/data/networkmanager/99_update_pamac_tray @@ -5,6 +5,8 @@ STATUS=$2 # The new state of the interface case "$STATUS" in 'up') # $INTERFACE is up - /usr/bin/pamac-refresh - ;; + [[ -e /usr/bin/mhwd-live ]] && sleep 30 + /usr/bin/pamac-refresh + ;; esac +