Fix install
This commit is contained in:
parent
a7b91e26ba
commit
fca6751183
|
@ -17,7 +17,7 @@ sudo true
|
||||||
|
|
||||||
## Error funciton
|
## Error funciton
|
||||||
err() {
|
err() {
|
||||||
echo "${c_red}$1$c_"
|
echo -e "${c_red}$1$c_"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,5 +8,5 @@ shopt -s extglob
|
||||||
cd /home/$YOU || exit 1
|
cd /home/$YOU || exit 1
|
||||||
rm -rf .ipfs/
|
rm -rf .ipfs/
|
||||||
|
|
||||||
cd .zen || exit 1
|
[[ -d .zen ]] && cd .zen || exit 1
|
||||||
rm -rf !(astroport)
|
[[ $(echo "${PWD##*/}") == .zen ]] && rm -rf !(astroport)
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
stamp=$(date +%s)
|
||||||
|
|
||||||
|
[[ -d ~/.ssb ]] && mv ~/.ssb ~/.ssb-$stamp || exit 1
|
|
@ -14,7 +14,7 @@ curl -s $gitpath/.install/export_colors.sh | bash || exit 1
|
||||||
. ~/.bash_aliases
|
. ~/.bash_aliases
|
||||||
|
|
||||||
# IPFS install
|
# IPFS install
|
||||||
echo "${c_green}Astroport installer
|
echo -e "${c_green}Astroport installer
|
||||||
###
|
###
|
||||||
1. IPFS Swarm Layer$c_"
|
1. IPFS Swarm Layer$c_"
|
||||||
# Full automatic (you trust this git depot)
|
# 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
|
curl -s $gitpath/.install/sys_checkOS.sh noexec | bash || exit 1
|
||||||
|
|
||||||
# SSB install
|
# 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 !!
|
# ONCE YOU READ and AGREE. Run TrustFull QUICK Install !!
|
||||||
curl -s $gitpath/zen/tools/make_G1SSB_secret.sh | bash || exit 1
|
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
|
exec bash
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue