From 5c8b64359e24a7016ae0861bd8e5941fbd317d5d Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sun, 17 Dec 2023 11:45:16 -0500 Subject: [PATCH] test --- 110-Cleanup.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/110-Cleanup.sh b/110-Cleanup.sh index f4b07a1..6f08e60 100644 --- a/110-Cleanup.sh +++ b/110-Cleanup.sh @@ -8,15 +8,16 @@ source "$SCRIPTDIR/common/load-defaults.sh" printf "$COL_LIGHT_BLUE" "* Cleaning up system" prespace=$(get_system_used_space) -printf "$COL_LIGHT_BLUE" "* Current used space is $prespace" -prespacewords=`human_readable_bytes $prespace` +prespacewords=`human_readable_bytes "$prespace"` printf "$COL_LIGHT_BLUE" "* Current used space is $prespacewords" + pkgmgr_clean + postspace=$(get_system_used_space) printf "$COL_LIGHT_BLUE" "* Current used space is now $postspace" -postspacewords=`human_readable_bytes $prespace` +postspacewords=`human_readable_bytes "$prespace"` printf "$COL_LIGHT_BLUE" "* Current used space is now $postspacewords" spacesavedbytes=`expr $postspace - $prespace` -postspacewords=`(human_readable_bytes $spacesavedbytes` +postspacewords=`(human_readable_bytes "$spacesavedbytes"` printf "$COL_LIGHT_BLUE" "Cleanup saved $spacesavedwords"