From 0462a8f6c3afd82cae74360bef654b318cbb1f2b Mon Sep 17 00:00:00 2001 From: support Date: Wed, 1 Jun 2022 22:43:10 +0200 Subject: [PATCH] Check .current player legal acceptance --- ajouter_video.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ajouter_video.sh b/ajouter_video.sh index dd8b5fa..1f28cb3 100755 --- a/ajouter_video.sh +++ b/ajouter_video.sh @@ -59,7 +59,7 @@ IPFSNODEID=$(cat ~/.ipfs/config | jq -r .Identity.PeerID) ######################################################################## ## CADRE EXCEPTION COPIE PRIVE # https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006278917/2008-12-11/ -if [[ ! -f ~/.zen/legal ]]; then +if [[ ! -f ~/.zen/game/players/.current/legal ]]; then zenity --width ${large} --height=${haut} --text-info \ --title="Action conforme avec le Code de la propriété intellectuelle" \ --html \ @@ -69,12 +69,12 @@ zenity --width ${large} --height=${haut} --text-info \ case $? in 0) echo "AUTORISATION COPIE PRIVE ASTROPORT OK !" - echo "$G1PUB" > ~/.zen/legal + echo "$G1PUB" > ~/.zen/game/players/.current/legal # next step ;; 1) echo "Refus conditions" - rm -f ~/.zen/legal + rm -f ~/.zen/game/players/.current/legal exit 1 ;; -1)