From f59c4b3d9cbfd4504272d711ac5e59bf6e1984ae Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 3 Apr 2023 18:40:23 +0200 Subject: [PATCH] fixing --- API/SALT.sh | 22 +++++++++++----------- www/PasseportTerre/index.html | 8 -------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/API/SALT.sh b/API/SALT.sh index d5c7c048..0f0019c3 100755 --- a/API/SALT.sh +++ b/API/SALT.sh @@ -71,17 +71,17 @@ Content-Type: text/html; charset=UTF-8 ######################################## ## ARCHIVE TOCTOC ${WHAT}S KEEP LOG (TODO : ERASE) ######################################## - mkdir -p ~/.zen/game/players/.toctoc/ - ISTHERE=$(ls -t ~/.zen/game/players/.toctoc/*.${G1PUB}.ipns.key 2>/dev/null | tail -n 1 | cut -d '.' -f 1) - TTIME=$(echo $ISTHERE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev) - if [[ ! $ISTHERE ]]; then - echo "${APPNAME} 1ST TOCTOC : ${MOATS}" - cp ~/.zen/tmp/coucou/${MOATS}.* ~/.zen/game/players/.toctoc/ - else ## KEEP 1ST CONTACT ONLY - OLDONE=$(ls -t ~/.zen/tmp/coucou/*.${G1PUB}.ipns.key | tail -n 1) - DTIME=$(echo $OLDONE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev) - [[ $DTIME != ${MOATS} ]] && rm ~/.zen/tmp/coucou/$DTIME.* - fi + #~ mkdir -p ~/.zen/game/players/.toctoc/ + #~ ISTHERE=$(ls -t ~/.zen/game/players/.toctoc/*.${G1PUB}.ipns.key 2>/dev/null | tail -n 1 | cut -d '.' -f 1) + #~ TTIME=$(echo $ISTHERE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev) + #~ if [[ ! $ISTHERE ]]; then + #~ echo "${APPNAME} 1ST TOCTOC : ${MOATS}" + #~ cp ~/.zen/tmp/coucou/${MOATS}.* ~/.zen/game/players/.toctoc/ + #~ else ## KEEP 1ST CONTACT ONLY + #~ OLDONE=$(ls -t ~/.zen/tmp/coucou/*.${G1PUB}.ipns.key | tail -n 1) + #~ DTIME=$(echo $OLDONE | rev | cut -d '.' -f 4 | cut -d '/' -f 1 | rev) + #~ [[ $DTIME != ${MOATS} ]] && rm ~/.zen/tmp/coucou/$DTIME.* + #~ fi ######################################## ## APPNAME SELECTION ######################## diff --git a/www/PasseportTerre/index.html b/www/PasseportTerre/index.html index 7678cf93..c46a32ae 100644 --- a/www/PasseportTerre/index.html +++ b/www/PasseportTerre/index.html @@ -153,13 +153,6 @@ TODO:
-
@@ -173,7 +166,6 @@ TODO: