From ee40b5bc5c0e5c04dd850b98ec15576a527670f1 Mon Sep 17 00:00:00 2001 From: pruizf <pabloruizfabo@gmail.com> Date: Mon, 27 Sep 2021 19:51:47 +0200 Subject: [PATCH] [pub] footer update more --- publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish.sh b/publish.sh index 301de80..a6201b0 100755 --- a/publish.sh +++ b/publish.sh @@ -34,8 +34,8 @@ sed -i -e "s/##nbrPieces/${plays_done}/g" site/*html realdate=$(grep -P 'Last updated on ' site/en.html | grep -Po '[0-9: -]+ UTC') echo "$realdate\n" >> site/log.txt #2021-09-27 09:37:07 UTC -perl -p -i -e "s/Last updated on /Last updated on $(date +'%Y-%m-%d %k:%M:%S')/" site/read/en.html -perl -p -i -e "s/Last updated on /Mis à jour le $(date +'%Y-%m-%d %k:%M:%S')/" site/read/index.html +perl -p -i -e "s/Last updated on .+/Last updated on $(date +'%Y-%m-%d %k:%M:%S')/" site/read/en.html +perl -p -i -e "s/Last updated on .+/Mis à jour le $(date +'%Y-%m-%d %k:%M:%S')/" site/read/index.html # copy to public repo ========================================================== -- GitLab