Be verbose when deleting

merge-requests/16/head
g0t mi1k 4 years ago
parent c6b70bf355
commit 49947646a4

@ -2,7 +2,7 @@
lb clean noauto "$@"
rm -f config/binary \
rm -fv config/binary \
config/bootstrap \
config/chroot \
config/common \

@ -107,9 +107,9 @@ esac
# Drop all files that a former run might have put into place
for file in $(cd kali-config && find ./common ./variant-* -type f); do
file=${file#./*/}
rm -f config/$file
rm -fv config/$file
done
rm -f config/archives/kali-proposed-updates.list.*
rm -fv config/archives/kali-proposed-updates.list.*
# Copy over all files from official kali configuration
cp -rT kali-config/common config

@ -115,8 +115,8 @@ clean() {
run_and_log $SUDO lb clean --purge
# Installer
run_and_log $SUDO rm -rf simple-cdd/tmp
run_and_log $SUDO rm -rf simple-cdd/debian-cd
run_and_log $SUDO rm -rfv simple-cdd/tmp
run_and_log $SUDO rm -rfv simple-cdd/debian-cd
}
# Allowed command line options

Loading…
Cancel
Save