From 3111693cc01c0d41ecdd04a7820ee0f16271d447 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 3 Nov 2016 18:48:27 +0100 Subject: [PATCH] Make panel_update.sh more reliable --- os/arch/.config/panel/panel_update.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/os/arch/.config/panel/panel_update.sh b/os/arch/.config/panel/panel_update.sh index 1eaca2f4..f7eefd5e 100755 --- a/os/arch/.config/panel/panel_update.sh +++ b/os/arch/.config/panel/panel_update.sh @@ -15,7 +15,8 @@ then exit 2 fi -pkill -f "bash \./$1\.sh" -pushd $CWD/lemons >/dev/null -./$1.sh | ../panel.sh & +. $CWD/panel_config +pkill -f "bash \./lemons/$1\.sh" +pushd "$CWD" >/dev/null +./lemons/$1.sh > "$PANEL_FIFO" & popd >/dev/null