From 20b9b4855ec88d6d0c6ed4edbd4b9c6525f77d25 Mon Sep 17 00:00:00 2001 From: "Archie Hilton (thytom)" Date: Wed, 6 Nov 2019 14:19:23 +0000 Subject: Added new weather module, fixed archupdates spacing and tweaked bar.sh --- bar.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bar.sh') diff --git a/bar.sh b/bar.sh index 925615a..534ae87 100755 --- a/bar.sh +++ b/bar.sh @@ -45,8 +45,10 @@ run_module() out="$($MODULES_DIR$1)" fi - [[ ! "$out" = "" ]] && out="$out$SEPARATOR." - echo "$out" > "$OUTPUT_CACHE$module" + if [[ ! "$out" = "" ]]; then + out="$out$SEPARATOR." + echo "$out" > "$OUTPUT_CACHE$module" + fi } run() -- cgit v1.2.3