30-makedist-autobuild-cleanold: update from production server
This commit is contained in:
parent
ac0e056cf8
commit
c3976843f3
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Makedist automatic clean script
|
# Makedist automatic clean script
|
||||||
# Copyright (c) 2007-2022 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# Copyright (c) 2007-2023 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
#
|
#
|
||||||
. /etc/sysconfig/makedist
|
. /etc/sysconfig/makedist
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
SOURCEDIR=/var/makedist
|
SOURCEDIR=/var/makedist
|
||||||
[ "$TODAYDATE" ] || TODAYDATE=`date +%Y%m%d`
|
[ "$TODAYDATE" ] || TODAYDATE=`date +%Y%m%d`
|
||||||
LANGS="it en es"
|
LANGS="it en"
|
||||||
ARCHS="i586 arm x86_64 aarch64"
|
ARCHS="i586 arm x86_64 aarch64"
|
||||||
|
|
||||||
tmpfile=`mktemp`
|
tmpfile=`mktemp`
|
||||||
@ -20,7 +20,7 @@ tmpfile=`mktemp`
|
|||||||
}
|
}
|
||||||
|
|
||||||
for m in $MILESTONES; do
|
for m in $MILESTONES; do
|
||||||
DESTBASEDIR=${REPODIR_LOCAL}/$m/media
|
DESTBASEDIR=${REPODIR_LOCAL}/media/$m
|
||||||
for l in $LANGS; do
|
for l in $LANGS; do
|
||||||
for d in `find $DESTBASEDIR/*/$l -maxdepth 0 -type d`; do
|
for d in `find $DESTBASEDIR/*/$l -maxdepth 0 -type d`; do
|
||||||
for a in $ARCHS; do
|
for a in $ARCHS; do
|
||||||
|
Loading…
Reference in New Issue
Block a user