From f476b85245145f28a316184299b58435f6bfa93d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 23 Oct 2017 15:01:34 +0200 Subject: obsolete transitional: add some || true Signed-off-by: Holger Levsen --- bin/find_obsolete_transitional_packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/find_obsolete_transitional_packages.sh b/bin/find_obsolete_transitional_packages.sh index 0722c07d..4e77c508 100755 --- a/bin/find_obsolete_transitional_packages.sh +++ b/bin/find_obsolete_transitional_packages.sh @@ -105,11 +105,11 @@ for PKG in $(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ign echo "ignore $PKG because a bug has already been filed." continue fi - OLDSTABLE_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[0]} |egrep "^$PKG$") + OLDSTABLE_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[0]} |egrep "^$PKG$" || true) if [ -z "$OLDSTABLE_HIT" ] ; then echo "$PKG not in $OLDSTABLE, so new transitional package, so fine." else - SID_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[2]} |egrep "^$PKG$") + SID_HIT=$(grep-dctrl -sPackage -n -FDescription "transitional.*package" --ignore-case --regex ${PACKAGES[2]} |egrep "^$PKG$" || true) if [ -z "$SID_HIT" ] ; then echo "Transitional package $PKG in $OLDSTABLE and $STABLE, but not in sid, yay!" let GOOD_COUNTER=$GOOD_COUNTER+1 -- cgit v1.2.3-70-g09d2