update version to grab from binaries

This commit is contained in:
2020-12-26 22:43:42 -05:00
parent 76a927415f
commit dde9c5cbe5

View File

@@ -2,7 +2,7 @@
lockfile="/tmp/duplicacy.lock"
LOGFILE="/var/log/duplicacy/duplicacy_$(date +%Y%m%d-%H%M%S).log"
LATEST_DUPLICACY_VERSION="2.7.2"
LATEST_DUPLICACY_VERSION="ls -lha $(dirname "$0")/binaries/ | awk '/-rw/{print substr($9,length($9)-4);exit}'"
# make log directory
if [ ! -d $(dirname ${LOGFILE}) ]; then