From 46167e35291327b093f56f77cd18a3ffd892e425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Rodr=C3=ADguez?= <ruben@trisquel.info> Date: Mon, 4 Feb 2013 02:03:44 +0100 Subject: [PATCH] Updated makepending for new dpkg-compareversions --- makepending | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepending b/makepending index 377891a9..e6577118 100644 --- a/makepending +++ b/makepending @@ -87,7 +87,7 @@ LIST=$(echo $LIST | cut -d" " -f2-) while [ "$LIST" != "EOL" ] do TEST=$(echo $LIST | cut -d" " -f1) - dpkg --compare-versions $HI lt $TEST && HI=$TEST + dpkg --compare-versions $HI lt $TEST 2>/dev/null && HI=$TEST LIST=$(echo $LIST | cut -d" " -f2-) done echo $HI @@ -101,7 +101,7 @@ current=$( higher $LIST) LIST=$(egrep ^${package}_ $UPSTREAM) upstream=$( higher $LIST) -if dpkg --compare-versions $current lt $upstream +if dpkg --compare-versions $current lt $upstream 2>/dev/null then # echo Current version in $DISTRO: $current 1>&2 -- GitLab