From a51fd3cadbcc4be13dda57217fea6232aae1a182 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 18 Aug 2023 23:05:17 +0300 Subject: Added a condition where we have the IPFS binary but we haven't configured --- ipfs-check-install-setup-init-update | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3