diff options
Diffstat (limited to 'ipfs-check-install-setup-init-update')
-rwxr-xr-x | ipfs-check-install-setup-init-update | 4 |
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 } |