/[smeserver]/rpms/smeserver-yum/sme9/smeserver-yum-2.4.0.bz10250.CentOSVault.onEOL.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme9/smeserver-yum-2.4.0.bz10250.CentOSVault.onEOL.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Thu Dec 5 20:34:10 2019 UTC Revision 1.2 by jpp, Thu Dec 5 20:38:40 2019 UTC
# Line 12  diff -Nur smeserver-yum-2.4.0.old/root/e Line 12  diff -Nur smeserver-yum-2.4.0.old/root/e
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/"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed