From a1fda61daa60449b181c04f1d239087e8ad18788 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Nov 02 2021 11:09:16 +0000 Subject: MyBS.pm: Use pool repository when present. The standard repository in SLE15 SP3 in OBS does not contain packages. --- diff --git a/scripts/lib/SUSE/MyBS.pm b/scripts/lib/SUSE/MyBS.pm index c2a9067..d70c18b 100644 --- a/scripts/lib/SUSE/MyBS.pm +++ b/scripts/lib/SUSE/MyBS.pm @@ -242,7 +242,7 @@ sub get_repo_archs { if (defined($repository)) { return if $attr{name} ne $repository; } - if ($attr{name} eq "standard" || + if ($attr{name} eq "standard" || $attr{name} eq "pool" || $attr{name} eq "ports" && $project !~ /\bopenSUSE:Factory\b/ || $attr{name} =~ /^SUSE_.*_Update$/ && $project =~ /^SUSE:Maintenance:/) { $self->{has_match} = 1;