Update temp.inc.sh

This commit is contained in:
2024-05-12 17:31:50 -05:00
parent cbf08c2f28
commit a7a04cf17d

View File

@@ -258,10 +258,11 @@ CHECKTEMP(){
([ "${temp_h}" != "" ] && [ "${temp_h}" != "0" ]) && echo -en "${idsCL[White]}| " || echo -n " "
echo -en "${idsCL[Default]} "
# [ ${#M} -eq 2 ] && echo -n " "
if [ ${#M} -lt 3 ]; then
echo -n "${#M} "
if [ ${#M} -eq 1 ]; then
echo -n " "
elif [ ${#M} -lt 3 ]; then
c=0; spc1=`expr ${#M} - 1`
until [ ${c} = ${spc1} ] || [ ${#M} -eq 1 ]; do
until [ ${c} = ${spc1} ]; do
echo -n " "
((c++))
done