33 lines
589 B
Bash
33 lines
589 B
Bash
#!/bin/bash
|
|
|
|
export RUN_DEFAULT_FUNCS="no"
|
|
|
|
source /tmp/chroot-functions.sh
|
|
|
|
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
|
|
|
|
cleanup_stages
|
|
|
|
if [ -n "${clst_DISTCC}" ]
|
|
then
|
|
portageq has_version / sys-devel/distcc
|
|
if [ $? == 0 ]; then
|
|
run_merge -C sys-devel/distcc || exit 1
|
|
fi
|
|
fi
|
|
|
|
if [ -n "${clst_ICECREAM}" ]
|
|
then
|
|
run_merge -C sys-devel/icecream || exit 1
|
|
fi
|