From 22ad813e2c916815b4ae2039f5b67feaec59dabd Mon Sep 17 00:00:00 2001 From: jgaunt Date: Thu, 30 Jul 2020 16:47:18 -0400 Subject: [PATCH] Update 'duplicacy.sh' --- duplicacy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/duplicacy.sh b/duplicacy.sh index dcf8204..a2f27a5 100644 --- a/duplicacy.sh +++ b/duplicacy.sh @@ -15,7 +15,7 @@ echo $$ > ${lockfile} # Determine the Kernel and Architecture KERNEL=$(uname) ARCH=$(uname -m) -if [${KERNEL} == 'Linux']; then +if [ ${KERNEL} == 'Linux' ]; then if [ ${ARCH} == 'x86_64' ]; then cp -v $(dirname "$0")/binaries/duplicacy_linux_x64_2.6.1 /usr/bin/duplicacy >> ${LOGFILE} chown +x /usr/bin/duplicacy >> ${LOGFILE} @@ -28,7 +28,7 @@ if [${KERNEL} == 'Linux']; then echo "Arch not supported." exit fi -elif [${KERNEL} == 'FreeBSD']; then +elif [ ${KERNEL} == 'FreeBSD' ]; then if [ ${ARCH} == 'amd64' ]; then cp -v $(dirname "$0")/binaries/duplicacy_freebsd_x64_2.6.1 /usr/bin/duplicacy >> ${LOGFILE} chown +x /usr/bin/duplicacy >> ${LOGFILE}