aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-15 20:40:53 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-15 20:40:53 +0300
commitb68cfb97905628e60f23c430b253e5c69eeaa3f9 (patch)
tree742e1ab9db54c92cef3ef89c7fd30ab88b6586c5
parent389cf355eb2344b4d5246a2e5c4b2ac31fec7f1b (diff)
downloadarching-kaos-tools-b68cfb97905628e60f23c430b253e5c69eeaa3f9.tar.gz
arching-kaos-tools-b68cfb97905628e60f23c430b253e5c69eeaa3f9.tar.bz2
arching-kaos-tools-b68cfb97905628e60f23c430b253e5c69eeaa3f9.zip
Install script is broken
-rw-r--r--api/config.js3
-rwxr-xr-xipfs-check-install-setup-init-update1
2 files changed, 2 insertions, 2 deletions
diff --git a/api/config.js b/api/config.js
index 84a85b1..088ce07 100644
--- a/api/config.js
+++ b/api/config.js
@@ -1,5 +1,4 @@
-const process = require("process");
-const env = process.env;
+const { env } = require("process");
const config = {
port : 8610,
diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update
index 3e8dfdf..13f2961 100755
--- a/ipfs-check-install-setup-init-update
+++ b/ipfs-check-install-setup-init-update
@@ -38,6 +38,7 @@ install(){
}
swarm_install() {
if [ ! -f $HOME/.ipfs/swarm.key ]; then
+ logthis "[INFO]" "Downloading swarm key"
wget -O $HOME/.ipfs/swarm.key https://arching-kaos.net/files/swarm.key ;
elif [ "$(sha512sum $HOME/.ipfs/swarm.key | awk '{ print $1 }')" == "$SWARMSHA512SUM" ]; then
logthis "[INFO]" "Congrats! You are already in our swarm" ;