aboutsummaryrefslogtreecommitdiff
path: root/ipfs-check-install-setup-init-update
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-20 12:41:24 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-20 12:41:24 +0300
commita53f4930669fe6a1bec6dea3ce76f1a92bbe18ec (patch)
tree7749c25933bd170a58738467ee1ecd25328404a4 /ipfs-check-install-setup-init-update
parent5f7fb5e7a9caaf6f5fe4d994e07bef367d41efd4 (diff)
downloadarching-kaos-tools-a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec.tar.gz
arching-kaos-tools-a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec.tar.bz2
arching-kaos-tools-a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec.zip
Replaced double brackets with single ones
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 6c30f2d..219e898 100755
--- a/ipfs-check-install-setup-init-update
+++ b/ipfs-check-install-setup-init-update
@@ -1,6 +1,6 @@
#!/bin/bash
-if [[ ! -d $AK_BINDIR ]]; then mkdir $AK_BINDIR ;fi
-if [[ ! -d $AK_ARCHIVESDIR ]]; then mkdir $AK_ARCHIVESDIR ;fi
+if [ ! -d $AK_BINDIR ]; then mkdir $AK_BINDIR ;fi
+if [ ! -d $AK_ARCHIVESDIR ]; then mkdir $AK_ARCHIVESDIR ;fi
logthis(){
echo "$(date -u +%s) $1 $2" >> $AK_WORKDIR/logs
}