diff --git a/etc/cron.daily/40-autodist-cleanold b/etc/cron.daily/40-autodist-cleanold index 7194c26..8993410 100755 --- a/etc/cron.daily/40-autodist-cleanold +++ b/etc/cron.daily/40-autodist-cleanold @@ -49,7 +49,7 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do [ -e /var/autoport/$a/var/tmp/autodist ] && \ find /var/autoport/$a/var/tmp/autodist/ -mindepth 1 -maxdepth 1 -type f -ctime ${TMP_CTIME_OLD} -exec rm -rf {} \; find /var/autoport/$a/tmp/ -mindepth 1 -maxdepth 1 -type f -ctime ${TMP_CTIME_OLD} -exec rm -rf {} \; - sudo -u ${AUTOPORT_CHROOT_USER[$i]} ccache -C + autoport-chroot $a ccache -C elif [ "${AUTOPORT_UPDATE[$i]}" ]; then clean /var/autodist find /var/autodist-tmp/ -mindepth 1 -maxdepth 1 -ctime ${TMP_CTIME_OLD} -exec rm -rf {} \;