From a53f4930669fe6a1bec6dea3ce76f1a92bbe18ec Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 20 Aug 2023 12:41:24 +0300 Subject: Replaced double brackets with single ones --- ipfs-check-install-setup-init-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipfs-check-install-setup-init-update') 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 } -- cgit v1.2.3