diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-10-23 15:01:34 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-10-23 15:01:34 +0200 |
commit | f476b85245145f28a316184299b58435f6bfa93d (patch) | |
tree | 290167cec63f49540ecf093dcffa841a97cedda2 /bin | |
parent | b6f344b1b9b753c26cdd35df8cbf7f4490ce4a8a (diff) | |
download | jenkins.debian.net-f476b85245145f28a316184299b58435f6bfa93d.tar.xz |
obsolete transitional: add some || true
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find_obsolete_transitional_packages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |