updated restic version compare
This commit is contained in:
@@ -23,7 +23,7 @@ cd $(dirname "$0")
|
|||||||
git pull > /dev/null
|
git pull > /dev/null
|
||||||
|
|
||||||
# restic version update
|
# restic version update
|
||||||
INSTALLED_RESTIC_VERSION=$(restic -h | awk '/VERSION:/{getline; print $1}')
|
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
|
# Determine the Kernel and Architecture
|
||||||
KERNEL=$(uname)
|
KERNEL=$(uname)
|
||||||
|
|||||||
Reference in New Issue
Block a user