Update 'duplicacy.sh'

This commit is contained in:
2020-07-30 17:27:37 -04:00
parent 5b862ffeb6
commit 19fdba3176

View File

@@ -22,7 +22,7 @@ git pull
# Duplicacy version update # Duplicacy version update
LATEST_DUPLICACY_VERSION="2.6.1" LATEST_DUPLICACY_VERSION="2.6.1"
INSTALLED_DUPLICACY_VERSION=$(duplicacy -h | awk '/VERSION:/{getline; print $1}') INSTALLED_DUPLICACY_VERSION=$(duplicacy -h | awk '/VERSION:/{getline; print $1}')
if [ ${LATEST_DUPLICACY_VERSION} != ${INSTALLED_DUPLICACY_VERSION} || ! -e '/usr/bin/duplicacy' ]; then if [ ${LATEST_DUPLICACY_VERSION} != ${INSTALLED_DUPLICACY_VERSION} ] || [ ! -e '/usr/bin/duplicacy' ]; then
# Determine the Kernel and Architecture # Determine the Kernel and Architecture
KERNEL=$(uname) KERNEL=$(uname)
ARCH=$(uname -m) ARCH=$(uname -m)