test
This commit is contained in:
parent
7c08ed2380
commit
225b3fece4
@ -6,18 +6,18 @@ source "$SCRIPTDIR/common/colors.sh"
|
||||
source "$SCRIPTDIR/common/functions.sh"
|
||||
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)
|
||||
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)
|
||||
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")
|
||||
printf "$COL_LIGHT_BLUE" "* Current used space is now $postspacewords"
|
||||
#printf "$COL_LIGHT_BLUE" "* Current used space is now $postspacewords"
|
||||
|
||||
spacesavedbytes=`expr $postspace - $prespace`
|
||||
postspacewords=`(human_readable_bytes "$spacesavedbytes"`
|
||||
printf "$COL_LIGHT_BLUE" "Cleanup saved $spacesavedwords"
|
||||
#printf "$COL_LIGHT_BLUE" "Cleanup saved $spacesavedwords"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user