aboutsummaryrefslogtreecommitdiff
path: root/ipfs-check-install-setup-init-update
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-check-install-setup-init-update')
-rwxr-xr-xipfs-check-install-setup-init-update5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update
index ad21c6c..6317e98 100755
--- a/ipfs-check-install-setup-init-update
+++ b/ipfs-check-install-setup-init-update
@@ -59,3 +59,8 @@ else
logthis "[INFO]" "Found IPFS! Skipping downloading..."
swarm_install
fi
+if [ ! -d $HOME/.ipfs ]; then
+ mkdir $HOME/.ipfs
+ $AK_BINDIR/ipfs init ;
+ swarm_install
+fi