aboutsummaryrefslogtreecommitdiffstats
path: root/english/mirror/mirror_list.pl
diff options
context:
space:
mode:
authorJosip Rodin <joy>2008-07-16 00:54:42 +0000
committerJosip Rodin <joy>2008-07-16 00:54:42 +0000
commitfa52adcf6bf69169599d0af3ecb90881dfffc2bf (patch)
tree3e9154fa179af712bd915526897daa205b51fccb /english/mirror/mirror_list.pl
parent280c5d2261d9af3454d2b344d81ae83fd49544aa (diff)
fixed check ordering (don't want to check empty arrays)
CVS version numbers english/mirror/mirror_list.pl: 1.138 -> 1.139
Diffstat (limited to 'english/mirror/mirror_list.pl')
-rwxr-xr-xenglish/mirror/mirror_list.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/english/mirror/mirror_list.pl b/english/mirror/mirror_list.pl
index c73a4456609..38ea6a6b770 100755
--- a/english/mirror/mirror_list.pl
+++ b/english/mirror/mirror_list.pl
@@ -1390,13 +1390,13 @@ sub generate_nsupdate {
}
}
- if ($site_arches[0] eq 'ALL') {
- warn "skipping $site because of an ALL-architecture entry";
+ if ($#site_arches < 0) {
+ warn "skipping $site because it doesn't carry any (main) archive architectures.\n";
next;
}
- if ($#site_arches < 0) {
- warn "skipping $site because it doesn't carry any (main) archive architectures.\n";
+ if ($site_arches[0] eq 'ALL') {
+ warn "skipping $site because of an ALL-architecture entry";
next;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy