From: Ian Jackson Date: Thu, 20 Aug 2020 16:39:58 +0000 (+0100) Subject: runvar access: Use runvar_glob for dmrestrict runvar search X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5478bd334bebcb0c40e56fe14cbe072f4f7e3403;p=osstest.git runvar access: Use runvar_glob for dmrestrict runvar search Signed-off-by: Ian Jackson --- diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 3fa26e4..ae3c1d3 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1032,7 +1032,7 @@ END # security.d.o CDN seems unreliable right now # and jessie-updates is no more - if (grep { m/_dmrestrict$/ && $r{$_} } keys %r and + if (grep { $r{$_} } runvar_glob('*_dmrestrict') and $suite =~ m/stretch/) { preseed_backports_packages($ho, $sfx, \%xopts, $suite, qw(chiark-scripts));