aboutsummaryrefslogtreecommitdiff
path: root/ipfs-check-install-setup-init-update
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:45:49 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:45:49 +0300
commit286b71a6ead8c7234cfbc0b8ece05c8239a4f32c (patch)
treef4662c1517fe14018d93c5503a72b8ba9da0c674 /ipfs-check-install-setup-init-update
parentb5394a6bd9f0b9fbd9bafc3e963dafbbc87f2ed2 (diff)
downloadarching-kaos-tools-286b71a6ead8c7234cfbc0b8ece05c8239a4f32c.tar.gz
arching-kaos-tools-286b71a6ead8c7234cfbc0b8ece05c8239a4f32c.tar.bz2
arching-kaos-tools-286b71a6ead8c7234cfbc0b8ece05c8239a4f32c.zip
Renamed everything
Diffstat (limited to 'ipfs-check-install-setup-init-update')
-rwxr-xr-xipfs-check-install-setup-init-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update
index 7f6fb0c..2d9c95e 100755
--- a/ipfs-check-install-setup-init-update
+++ b/ipfs-check-install-setup-init-update
@@ -1,13 +1,13 @@
#!/bin/bash
logthis(){
- echo "$(date -u +%s) $1 $2" >> $WORKDIR/logs
+ echo "$(date -u +%s) $1 $2" >> $AK_WORKDIR/logs
}
install(){
logthis "[INFO]" "Attempting to install IPFS..."
IPFS_VERSION="$(curl -s https://dist.ipfs.tech/kubo/versions | tail -1)"
SWARMSHA512SUM="7001e37412758c43d372a969e977ca11511e034c8c1e233a58dc3ce1c6f3c1aa7d2da8cba9944a5eabaa8885742bfe6cc6794224c146b7129da8f633b53b9cfc"
IPFS_TARGET_FILE="kubo_"$IPFS_VERSION"_linux-amd64.tar.gz"
- AKBIN="$WORKDIR/bin"
+ AKBIN="$AK_WORKDIR/bin"
mkdir $AKBIN
AKAR="$ARCHIVESDIR"
mkdir $AKAR