diff --git a/duplicacy.sh b/duplicacy.sh index e81ebc9..c907c4a 100644 --- a/duplicacy.sh +++ b/duplicacy.sh @@ -2,6 +2,7 @@ lockfile="/tmp/duplicacy.lock" LOGFILE="/var/log/duplicacy/duplicacy_$(date +%Y%m%d-%H%M%S).log" +LATEST_DUPLICACY_VERSION="2.7.0" # make log directory mkdir $(dirname ${LOGFILE}) > /dev/null @@ -20,7 +21,6 @@ cd $(dirname "$0") git pull > /dev/null # Duplicacy version update -LATEST_DUPLICACY_VERSION="2.6.1" INSTALLED_DUPLICACY_VERSION=$(duplicacy -h | awk '/VERSION:/{getline; print $1}') if [ ${LATEST_DUPLICACY_VERSION} != ${INSTALLED_DUPLICACY_VERSION} ] || [ ! -e '/usr/bin/duplicacy' ]; then # Determine the Kernel and Architecture