added quotes for comapring

This commit is contained in:
2021-08-17 15:02:50 -04:00
parent 9c7008afde
commit 4961d4b06d

View File

@@ -24,7 +24,7 @@ git pull > /dev/null
# restic version update
INSTALLED_RESTIC_VERSION=$(restic version | awk '{print $2}')
if [ ${LATEST_RESTIC_VERSION} != ${INSTALLED_RESTIC_VERSION} ] || [ ! -e '/usr/bin/restic' ]; then
if [ "${LATEST_RESTIC_VERSION}" != "${INSTALLED_RESTIC_VERSION}" ] || [ ! -e '/usr/bin/restic' ]; then
# Determine the Kernel and Architecture
KERNEL=$(uname)
ARCH=$(uname -m)