diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 13:59:51 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 13:59:51 +0300 |
commit | f3e77a4ff03b54e0b2db2a46e9eb3ad345a0b0c4 (patch) | |
tree | c095d8a3b9218bc5e4ce2d8c198cfb0d72a85b8d /ipfs-check-install-setup-init-update | |
parent | 8240bd9106a4c3a019a70340b7709a13a9e7e8f4 (diff) | |
download | arching-kaos-tools-f3e77a4ff03b54e0b2db2a46e9eb3ad345a0b0c4.tar.gz arching-kaos-tools-f3e77a4ff03b54e0b2db2a46e9eb3ad345a0b0c4.tar.bz2 arching-kaos-tools-f3e77a4ff03b54e0b2db2a46e9eb3ad345a0b0c4.zip |
Fixed a bug where ZGENESIS pointer file wasn't created
Diffstat (limited to 'ipfs-check-install-setup-init-update')
-rwxr-xr-x | ipfs-check-install-setup-init-update | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update index bdd94c9..5b50255 100755 --- a/ipfs-check-install-setup-init-update +++ b/ipfs-check-install-setup-init-update @@ -35,7 +35,6 @@ install(){ mkdir $HOME/.ipfs $AK_BINDIR/ipfs init ; fi - ipfs add -Q $AK_GENESIS > $AK_ZGENESIS } swarm_install() { @@ -63,3 +62,8 @@ if [ ! -d $HOME/.ipfs ]; then ipfs init swarm_install fi + +if [ ! -f $AK_ZGENESIS ] +then + ipfs add -Q $AK_GENESIS > $AK_ZGENESIS +fi |