Improve verbosity.

This commit is contained in:
Alexis Lahouze 2018-11-25 18:38:48 +01:00
parent 2871414402
commit e2da9be6df
1 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,14 @@ export RUN_DEFAULT_FUNCS="no"
source /tmp/chroot-functions.sh
perl-cleaner --reallyall
if [[ "${clst_VERBOSE}" == "true" ]]; then
clst_perlcleaneropts="--verbose"
else
clst_perlcleaneropts="--quiet"
fi
echo "Running perl-cleaner."
perl-cleaner ${clst_perlcleaneropts} --reallyall
update_env_settings
show_debug