From 9ab37c25c26ec790ba1fdf7f6c14a111b647554c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Sep 2014 19:10:42 +0200 Subject: [PATCH] autodist-upstream-updates: only accept even numbers (also 1.x and 2.x) as stable from Gnome upstream list --- autodist-upstream-updates | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autodist-upstream-updates b/autodist-upstream-updates index 67d9ebe..c9f1137 100755 --- a/autodist-upstream-updates +++ b/autodist-upstream-updates @@ -234,8 +234,8 @@ parse_gnome() { if [ "$pkg" -a "$ver" ]; then ver1=$(echo $ver | cut -d. -f1) ver2=$(echo $ver | cut -d. -f2) - if [ $ver1 -ge 2 -a $ver1 -le 4 -a "$ver2" -a $(($ver2 % 2)) -ne 0 ]; then - # skip unstable 2.x and 3.x versions with odd numbers + if [ "$ver2" -a $(($ver2 % 2)) -ne 0 ]; then + # skip unstable versions with odd numbers continue else echo "$pkg $ver $SOURCEURL ${alias/* /}" >> $tmpfile