This commit is contained in:
deathbybandaid 2023-12-17 11:47:33 -05:00
parent 5c8b64359e
commit 7c08ed2380

View File

@ -8,14 +8,14 @@ source "$SCRIPTDIR/common/load-defaults.sh"
printf "$COL_LIGHT_BLUE" "* Cleaning up system" printf "$COL_LIGHT_BLUE" "* Cleaning up system"
prespace=$(get_system_used_space) prespace=$(get_system_used_space)
prespacewords=`human_readable_bytes "$prespace"` prespacewords=$(human_readable_bytes "$prespace")
printf "$COL_LIGHT_BLUE" "* Current used space is $prespacewords" printf "$COL_LIGHT_BLUE" "* Current used space is $prespacewords"
pkgmgr_clean pkgmgr_clean
postspace=$(get_system_used_space) postspace=$(get_system_used_space)
printf "$COL_LIGHT_BLUE" "* Current used space is now $postspace" 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" printf "$COL_LIGHT_BLUE" "* Current used space is now $postspacewords"
spacesavedbytes=`expr $postspace - $prespace` spacesavedbytes=`expr $postspace - $prespace`