From 4c3b35fc7818b09cad5f7604d34886f7415fa813 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 12 May 2024 17:23:35 -0500 Subject: [PATCH] Update temp.inc.sh --- inc/temp.inc.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index f999888c..b15b0539 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -258,7 +258,13 @@ CHECKTEMP(){ ([ "${temp_h}" != "" ] && [ "${temp_h}" != "0" ]) && echo -en "${idsCL[White]}| " || echo -n " " echo -en "${idsCL[Default]} " # [ ${#M} -eq 2 ] && echo -n " " - [ ${#M} -lt 3 ] && { c=0; spc1=`expr ${#M} - 1`; until [ ${c} = ${spc1} ]; do echo -n " "; ((c++)); done } + if [ ${#M} -lt 3 ]; then + c=0; spc1=`expr ${#M} - 1` + until [ ${c} = ${spc1} ]; do + echo -n " "; ((c++)) + done + fi + if [ "${OLD_temp_f}" != "" ]; then c=0; spc=''; spc1=`expr ${spc_cnt} - ${#OLD_temp_f}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done