/[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.3 by jpp, Thu Dec 5 20:50:34 2019 UTC Revision 1.5 by jpp, Tue Jan 28 21:08:53 2020 UTC
# Line 17  diff -Nur smeserver-yum-2.4.0.old/root/e Line 17  diff -Nur smeserver-yum-2.4.0.old/root/e
17  +        my $repo = $DB->get($name) or next;  +        my $repo = $DB->get($name) or next;
18  +        my $rname = ( $name eq 'base'  )? 'os' :$name;  +        my $rname = ( $name eq 'base'  )? 'os' :$name;
19  +        # setprop BaseURL  "http://vault.centos.org/$SUBVER/$rname/\$basearch/"  +        # setprop BaseURL  "http://vault.centos.org/$SUBVER/$rname/\$basearch/"
20  +        #repo->set_prop('BaseURL', "http://vault.centos.org/$SUBVER/$rname/\$basearch/");  +        $repo->set_prop('BaseURL', "http://vault.centos.org/$SUBVER/$rname/\$basearch/");
21  +        # delprop MirrorList  +        # delprop MirrorList
22  +        $repo->delete_prop('MirrorList');  +        $repo->delete_prop('MirrorList');
23  +    }  +    }


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