diff --git a/zen/tools/make_G1SSB_secret.sh b/zen/tools/make_G1SSB_secret.sh index 5f02489..01d68da 100755 --- a/zen/tools/make_G1SSB_secret.sh +++ b/zen/tools/make_G1SSB_secret.sh @@ -191,12 +191,13 @@ echo ' diceware passphrase generator...' # INSTALL diceware files ## TODO REPLACE WITH ipfs links -[[ ! -f ~/.ssb_astroport/diceware.sh ]] \ -&& curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware.sh -o ~/.ssb_astroport/diceware.sh \ -&& chmod +x ~/.ssb_astroport/diceware.sh +[[ ! -f ~/.zen/astroport/zen/tools/diceware.sh ]] \ +mkdir -p ~/.zen/astroport/zen/tools/ +&& curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware.sh -o ~/.zen/astroport/zen/tools/diceware.sh \ +&& chmod +x ~/.zen/astroport/zen/tools/diceware.sh -[[ ! -f ~/.ssb_astroport/diceware-wordlist.txt ]] \ -&& curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware-wordlist.txt +[[ ! -f ~/.zen/astroport/zen/tools/diceware-wordlist.txt ]] \ +&& curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/zen/tools/diceware-wordlist.txt -o ~/.zen/astroport/zen/tools/diceware-wordlist.txt # LOGIN (=SALT) salt="$(~/.zen/astroport/zen/tools/diceware.sh 6)"