diff options
Diffstat (limited to 'bin/diffoscope_distribution_test.sh')
-rwxr-xr-x | bin/diffoscope_distribution_test.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/diffoscope_distribution_test.sh b/bin/diffoscope_distribution_test.sh index a5808bec..6a27a087 100755 --- a/bin/diffoscope_distribution_test.sh +++ b/bin/diffoscope_distribution_test.sh @@ -67,7 +67,14 @@ check_whohas() { # # main # -DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep '(unstable|sid)'| awk '{print $3}' || true) +for SUITE in 'experimental' 'unstable|sid' +do + DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep "${SUITE}"| awk '{print $3}' || true) + + if [ "$DIFFOSCOPE_IN_DEBIAN" != "" ] ; then + break + fi +done case $1 in PyPI) check_pypi |