summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-10-23 15:01:34 +0200
committerHolger Levsen <holger@layer-acht.org>2017-10-23 15:01:34 +0200
commitf476b85245145f28a316184299b58435f6bfa93d (patch)
tree290167cec63f49540ecf093dcffa841a97cedda2 /bin
parentb6f344b1b9b753c26cdd35df8cbf7f4490ce4a8a (diff)
downloadjenkins.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-xbin/find_obsolete_transitional_packages.sh4
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