install poka reread
This commit is contained in:
parent
70caf0b017
commit
e9d0ef3ff1
|
@ -16,7 +16,6 @@ fi
|
||||||
|
|
||||||
[[ -d ~/.ipfs ]] && echo "IPFS install exist, please remove backup before execute this script" && exit 1
|
[[ -d ~/.ipfs ]] && echo "IPFS install exist, please remove backup before execute this script" && exit 1
|
||||||
|
|
||||||
ipfs_install() {
|
|
||||||
echo -e "${c_yellow}Onboarding IPFS...$c_"
|
echo -e "${c_yellow}Onboarding IPFS...$c_"
|
||||||
[[ -f /usr/local/bin/ipfs ]] && sudo service ipfs stop
|
[[ -f /usr/local/bin/ipfs ]] && sudo service ipfs stop
|
||||||
if [[ $ARM == "yes" ]]; then
|
if [[ $ARM == "yes" ]]; then
|
||||||
|
@ -66,8 +65,5 @@ ipfs_install() {
|
||||||
|
|
||||||
sudo systemctl daemon-reload || err+="Restart IPFS"
|
sudo systemctl daemon-reload || err+="Restart IPFS"
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
ipfs_install
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue