[util-pkg] add msg to cleaning

This commit is contained in:
udeved 2015-06-14 20:11:10 +02:00
parent aa97ffd3e0
commit 6c2c43c9a5

View file

@ -62,8 +62,12 @@ chroot_update(){
clean_up(){
msg "Cleaning up ..."
msg2 "Cleaning [${cache_dir_pkg}]"
find ${cache_dir_pkg} -maxdepth 1 -name "*.*" -delete #&> /dev/null
[[ -z $SRCDEST ]] && find $PWD -maxdepth 1 -name '*.?z?' -delete #&> /dev/null
if [[ -z $SRCDEST ]];then
msg2 "Cleaning [source files]"
find $PWD -maxdepth 1 -name '*.?z?' -delete #&> /dev/null
fi
}
blacklist_pkg(){