diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-18 23:05:17 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-18 23:05:17 +0300 |
commit | a51fd3cadbcc4be13dda57217fea6232aae1a182 (patch) | |
tree | b4fff2f80cb76b48984bead3d3ffcdbbf627e63e | |
parent | 112e4f7be6c6cbdeab8543b4cc64e5b2ae25e155 (diff) | |
download | arching-kaos-tools-a51fd3cadbcc4be13dda57217fea6232aae1a182.tar.gz arching-kaos-tools-a51fd3cadbcc4be13dda57217fea6232aae1a182.tar.bz2 arching-kaos-tools-a51fd3cadbcc4be13dda57217fea6232aae1a182.zip |
Added a condition where we have the IPFS binary but we haven't configured
-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 |