From 46d1989cd543f8627ffcafa5355fa065ea91279d Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 3 Sep 2021 23:59:33 +0200 Subject: [PATCH] log removal --- zen/tools/autoPINfriends.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/tools/autoPINfriends.sh b/zen/tools/autoPINfriends.sh index 41baacd..7afc2b6 100755 --- a/zen/tools/autoPINfriends.sh +++ b/zen/tools/autoPINfriends.sh @@ -35,7 +35,7 @@ do echo "$mediakey PINNING ASKED BY $g1source" ## DECRYPT FINAL IPFS LINKS... $MY_PATH/natools.py decrypt -f pubsec -k "$HOME/.zen/secret.dunikey" -i "$astrofile" -o "/tmp/ipfslink.txt" - astrofile=$(cat /tmp/ipfslink.txt) && [[ -d ~/.zen/PIN/${astrofile} ]] && rm -Rf ~/.zen/PIN/${astrofile}/ ## REMOVE OLD PIN REFERENCE to keep directory (easier reading) + astrofile=$(cat /tmp/ipfslink.txt) && [[ -d ~/.zen/PIN/${astrofile} ]] && echo "removing old pin reference" && rm -Rf ~/.zen/PIN/${astrofile}/ ## REMOVE OLD PIN REFERENCE to keep directory (easier reading) $MY_PATH/natools.py decrypt -f pubsec -k "$HOME/.zen/secret.dunikey" -i "$astrofilelinksec" -o "/tmp/ipfsfilelink.txt" ipfsrepidfile=$(cat /tmp/ipfsfilelink.txt | rev | cut -d '/' -f 2 | rev) # PINNING NEW DIRECTORY & FILE