grammar
This commit is contained in:
parent
b3529f2131
commit
ebfc16f65a
|
@ -16,7 +16,7 @@ touch "${INDEX_DIR}/.lastrun.duc"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
[ ! -f "${INDEX_DIR}/.lastrun.duc" ] && notice "First run of DUC always in progress ..." && exit 0
|
[ ! -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 : "
|
printf "Last update of index file : "
|
||||||
stat --format=%Y "${INDEX_DIR}/.lastrun.duc" | xargs -i -n1 date -R -d "@{}"
|
stat --format=%Y "${INDEX_DIR}/.lastrun.duc" | xargs -i -n1 date -R -d "@{}"
|
||||||
|
|
Loading…
Reference in a new issue