From b560b7ad34c98afc272cf8fc2b688fb2846aa328 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 17 Jul 2023 22:49:30 -0500 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index ee2d356..94093db 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -803,7 +803,7 @@ RECONFIGURE_NETWORK(){ SCRIPT_MENU() { if [ -f ${FOLDER}/lastrun ]; then LASTRUND=$(stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f1) - LASTRUNT=$((stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f2) | cut -d '.' -f1) + LASTRUNT=$(stat -c %y ${FOLDER}/lastrun | cut -d ' ' -f2 | cut -d '.' -f1) else LASTRUND='never' LASTRUNT='' @@ -818,7 +818,7 @@ SCRIPT_MENU() { echo -e "Domain: ${idsCL[Cyan]}$(hostname -d)${idsCL[Default]}" echo echo -e "Updates last run on: ${idsCL[LightGreen]}${LASTRUND} ${LASTRUNT}${idsCL[Default]}" - DIVIDER . . 75 + DIVIDER_C . . 75 OS=($(detect_os)) width=14 printf "%-${width}s: %s\n" "Machine" "${OS[0]}" @@ -826,7 +826,7 @@ SCRIPT_MENU() { printf "%-${width}s: %s\n" "Derivative" "${OS[2]}" printf "%-${width}s: %s\n" "Version" "${OS[3]}" printf "%-${width}s: %s\n" "Codename/Rev" "${OS[4]}" - DIVIDER . lightgreen 75 + DIVIDER_C . LightGreen 75 echo echo -e " [${idsCL[Yellow]}1${idsCL[Default]}] Check for Updates/Upgrades" echo -e "*[${idsCL[Yellow]}2${idsCL[Default]}] Run Updates"