12 |
+ my $curdate = strftime '%Y%m%d', localtime; |
+ my $curdate = strftime '%Y%m%d', localtime; |
13 |
+ # return unless EOL is reached |
+ # return unless EOL is reached |
14 |
+ return unless ( "$curdate" >= "20201130"); |
+ return unless ( "$curdate" >= "20201130"); |
15 |
+ for my $name ( qw(base updates centos-sclo-centos centos-sclo-rh centosplus extras fasttrack) ) |
+ for my $name ( qw(base updates centos-sclo-centos centos-sclo-rh centosplus extras fasttrack contrib) ) |
16 |
+ { |
+ { |
17 |
+ my $repo = $DB->get($name) or next; |
+ my $repo = $DB->get($name) or next; |
18 |
+ # setprop BaseURL "http://vault.centos.org/$SUBVER/$name/\$basearch/" |
+ # setprop BaseURL "http://vault.centos.org/$SUBVER/$name/\$basearch/" |