Reapply "MM: adjust primary-mirror-wrapper because ELN has only one version"

With the bits we didn't want actually removed.

This reverts commit 86b9fa42fe.
This commit is contained in:
Aurélien Bompard 2024-09-13 15:58:42 +02:00
parent 86b9fa42fe
commit c00ff8b529
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -76,7 +76,11 @@ elif [ "${1}" == "codecs" ]; then
FFTL="${CATEGORY}"
FILEDATE=${CURDATE}
else
FFTL="/srv/pub/${1}/fullfiletimelist-${1}"
if [ "${1}" == "eln" ]; then
FFTL="/srv/pub/${1}/1/fullfiletimelist-${1}"
else
FFTL="/srv/pub/${1}/fullfiletimelist-${1}"
fi
FILEDATE=`stat -c %Z ${FFTL} 2> /dev/null`
if [ "$?" -eq "1" ]; then