diff options
-rwxr-xr-x | ipfs-check-install-setup-init-update | 5 |
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 |