From e53a62198a4ad4117cdb31a8e38c2e9a7cd46be0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 19 Jun 2017 14:48:35 +0200 Subject: [PATCH] automaint: minor fixes --- automaint | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/automaint b/automaint index 4e577f8..c73a825 100755 --- a/automaint +++ b/automaint @@ -188,7 +188,7 @@ for p in ${allpkgs}; do done [ "$pkg_name" ] || { - echo "$p: not present in $DEST_REPOSITORY; skipping." + [ "$VERBOSE" ] && echo "$p: not present in $DEST_REPOSITORY; skipping." continue } @@ -205,7 +205,7 @@ for p in ${allpkgs}; do done [ "$pkg_name" ] || { - echo "$p: not present in $SOURCE_REPOSITORY; skipping." + [ "$VERBOSE" ] && echo "$p: not present in $SOURCE_REPOSITORY; skipping." continue } @@ -245,6 +245,10 @@ for p in ${allpkgs}; do # e.g. SVER=0.11.2 -> VER=0.11.2.3 update_type="minor" else + if [[ 64#${VER[i-1]} -gt 64#89 && 64#${SVER[i-1]} -lt 64#80 ]]; then + [ "$VERBOSE" ] && echo "$p: dubious beta upgrade from ${SVER[i-1]} to ${VER[i-1]}; skipping." + continue + fi echo "$p: UNEXPECTED CASE - CHECK CODE; skipping." continue fi