From 44645688700fa3a314c96a926ed8fe90669fa1ea Mon Sep 17 00:00:00 2001 From: Eddie Carswell Date: Wed, 28 Feb 2024 21:03:47 +0000 Subject: [PATCH] Bump syncrepo to 1.7.0 --- syncrepo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syncrepo.sh b/syncrepo.sh index e40dd30..32188f5 100644 --- a/syncrepo.sh +++ b/syncrepo.sh @@ -10,8 +10,8 @@ set_globals() { AUTHOR='AfroThundr' BASENAME="${0##*/}" - MODIFIED='20191210' - VERSION='1.7.0-rc6' + MODIFIED='20240228' + VERSION='1.7.0' SOFTWARE='CentOS, EPEL, Debian, Ubuntu, Security Onion, Docker, and ClamAV' @@ -173,7 +173,7 @@ build_vars() { )" mapfile -t oldrels <<< "$( for i in "${allrels[@]}"; do - [[ ${i%%.*} -eq "(${allrels[-1]%%.*} - 1)" ]] && echo "$i" + [[ ${i%%.*} -eq $((${allrels[-1]%%.*} - 1)) ]] && echo "$i" done )" currel=${allrels[-1]}