From 5bac010c6d139a28e4b55553ba72e5697af37c20 Mon Sep 17 00:00:00 2001 From: Silvan Date: Tue, 2 Jan 2024 20:14:46 +0100 Subject: [PATCH] autodist-inspect,40-autodist-cleanold: commit minor changes done in production --- autodist-inspect | 2 ++ etc/cron.daily/40-autodist-cleanold | 1 + 2 files changed, 3 insertions(+) diff --git a/autodist-inspect b/autodist-inspect index 24ad096..50cbeca 100755 --- a/autodist-inspect +++ b/autodist-inspect @@ -26,6 +26,8 @@ grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/distromatic/base/sources #tail -n+2 ${PREFIX}/distromatic/base/deps-* | grep -i $checkpkg echo -e "\n=== distdb: ===" grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/base/distdb +echo -e "\n=== legacy: ===" +grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/base/legacy for repo in base devel-makedist devel-autodist devel-misc; do echo -e "\n=== ${repo}: ===" ls ${LOCAL_REPS_BASE_DIR}/${repo}/SRPMS.base/*$checkpkg* 2>/dev/null diff --git a/etc/cron.daily/40-autodist-cleanold b/etc/cron.daily/40-autodist-cleanold index 8993410..4738008 100755 --- a/etc/cron.daily/40-autodist-cleanold +++ b/etc/cron.daily/40-autodist-cleanold @@ -54,6 +54,7 @@ for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do clean /var/autodist find /var/autodist-tmp/ -mindepth 1 -maxdepth 1 -ctime ${TMP_CTIME_OLD} -exec rm -rf {} \; sudo -u autodist ccache -C + sudo -u autodist yarn cache clean elif [ "${AUTOPORT_NATIVE[$i]}" -a "${AUTOPORT_CHROOT_USER[$i]}" ]; then WORKINGHOME=`getent passwd ${AUTOPORT_CHROOT_USER[$i]} | cut -d: -f6` if [ -e $WORKINGHOME ]; then