test
This commit is contained in:
parent
0177c45b28
commit
7a707267d4
@ -7,14 +7,14 @@ source "$SCRIPTDIR/common/functions.sh"
|
||||
source "$SCRIPTDIR/common/load-defaults.sh"
|
||||
|
||||
printf "$COL_LIGHT_BLUE" "* Cleaning up system"
|
||||
prespace= $( get_system_used_space )
|
||||
prespacewords= $(human_readable_bytes $prespace)
|
||||
prespace=`get_system_used_space`
|
||||
prespacewords=`human_readable_bytes $prespace`
|
||||
printf "$COL_LIGHT_BLUE" "* Current used space is $prespacewords"
|
||||
pkgmgr_clean
|
||||
postspace= $( get_system_used_space )
|
||||
postspacewords= $(human_readable_bytes $prespace)
|
||||
postspace=`get_system_used_space`
|
||||
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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user