aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-09-11 21:26:03 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-09-11 21:26:03 +0300
commit7b623c8fb3a7897c567a98d04d0a44780a62f027 (patch)
tree3d1c941089ac4082680055e099fbecb252bb6bf9
parent143c4d5dbe4dd80163b5259e4d92365ab04aa9f0 (diff)
downloadarching-kaos-tools-7b623c8fb3a7897c567a98d04d0a44780a62f027.tar.gz
arching-kaos-tools-7b623c8fb3a7897c567a98d04d0a44780a62f027.tar.bz2
arching-kaos-tools-7b623c8fb3a7897c567a98d04d0a44780a62f027.zip
Build and install the API
-rwxr-xr-xinstall.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index e17abdb..789647a 100755
--- a/install.sh
+++ b/install.sh
@@ -198,3 +198,10 @@ sh ipfs-check-install-setup-init-update
source ./config.sh
source $HOME/$SHELLRC
sh init.sh
+make
+if [ $? -ne 0 ]
+then
+ printf 'Building API daemon failed\n'
+ exit 1
+fi
+ln -s $WHEREAMI/build/ak-daemon $AK_BINDIR/ak-daemon