This commit is contained in:
Jérémy Lecour 2020-05-01 09:51:47 +02:00 committed by Jérémy Lecour
parent b3529f2131
commit ebfc16f65a

View file

@ -16,7 +16,7 @@ touch "${INDEX_DIR}/.lastrun.duc"
EOF
[ ! -f "${INDEX_DIR}/.lastrun.duc" ] && notice "First run of DUC always in progress ..." && exit 0
[ ! -f ${IDX_FILE} ] && error "Index file do not exits !"
[ ! -f ${IDX_FILE} ] && error "Index file doesn't exits !"
printf "Last update of index file : "
stat --format=%Y "${INDEX_DIR}/.lastrun.duc" | xargs -i -n1 date -R -d "@{}"