1
0
Fork 0

Fix install

This commit is contained in:
poka 2020-05-20 02:56:59 +02:00
parent a7b91e26ba
commit fca6751183
4 changed files with 11 additions and 6 deletions

View File

@ -17,7 +17,7 @@ sudo true
## Error funciton
err() {
echo "${c_red}$1$c_"
echo -e "${c_red}$1$c_"
exit 1
}

View File

@ -8,5 +8,5 @@ shopt -s extglob
cd /home/$YOU || exit 1
rm -rf .ipfs/
cd .zen || exit 1
rm -rf !(astroport)
[[ -d .zen ]] && cd .zen || exit 1
[[ $(echo "${PWD##*/}") == .zen ]] && rm -rf !(astroport)

5
debug/reset_ssb.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
stamp=$(date +%s)
[[ -d ~/.ssb ]] && mv ~/.ssb ~/.ssb-$stamp || exit 1

View File

@ -14,7 +14,7 @@ curl -s $gitpath/.install/export_colors.sh | bash || exit 1
. ~/.bash_aliases
# IPFS install
echo "${c_green}Astroport installer
echo -e "${c_green}Astroport installer
###
1. IPFS Swarm Layer$c_"
# Full automatic (you trust this git depot)
@ -24,11 +24,11 @@ curl -s $gitpath/.install/ipfs_alone.sh | bash || exit 1
curl -s $gitpath/.install/sys_checkOS.sh noexec | bash || exit 1
# SSB install
echo "${c_green}2. Ḡ1/ScuttleButt anoptical layer$c_"
echo -e "${c_green}2. Ḡ1/ScuttleButt anoptical layer$c_"
# ONCE YOU READ and AGREE. Run TrustFull QUICK Install !!
curl -s $gitpath/zen/tools/make_G1SSB_secret.sh | bash || exit 1
echo "${c_green}Installation complete$c_"
echo -e "${c_green}Installation complete$c_"
exec bash