diff --git a/etc/cron.daily/30-openmamba-autobuild-cleanold b/etc/cron.daily/30-openmamba-autobuild-cleanold index a202d32..52727ac 100755 --- a/etc/cron.daily/30-openmamba-autobuild-cleanold +++ b/etc/cron.daily/30-openmamba-autobuild-cleanold @@ -9,7 +9,7 @@ DESTBASEDIR=/var/ftp/pub/openmamba/devel/media DESTBASEURL=/pub/openmamba/devel/media [ "$TODAYDATE" ] || TODAYDATE=`date +%Y%m%d` GLOBDOWNLOADSFILE=$DESTBASEDIR/downloads.inc -ARCH=i586 +LANGS="it en es" tmpfile=`mktemp` @@ -17,11 +17,10 @@ tmpfile=`mktemp` echo "Error: cannot create temporary files; aborting." exit 1 } - for l in $LANGS; do for d in `find $DESTBASEDIR/*/$l -maxdepth 0 -type d`; do > $tmpfile - for f in `find $d -maxdepth 1 -name \*.iso -o -name \*.cpio.gz`; do + for f in `find $d -maxdepth 1 -name \*.iso -o -name \*.cpio.gz -o -name \*.tar.gz -o -name \*.tar.xz -o -name \*.tar.bz2`; do echo `stat -c %Z $f` `basename $f` >> $tmpfile done