Mirrormanager: restore the proper location of the filelist

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-09-19 11:37:18 +02:00
parent f9b4ea51d6
commit abc37890ab
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

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