/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10249.CentOSVault.onEOL.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10249.CentOSVault.onEOL.patch

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

Revision 1.2 by jpp, Thu Dec 5 21:25:07 2019 UTC Revision 1.3 by jpp, Fri Dec 6 22:30:24 2019 UTC
# Line 1  Line 1 
1  diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL  diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL
2  --- smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL    1969-12-31 19:00:00.000000000 -0500  --- smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL    1969-12-31 19:00:00.000000000 -0500
3  +++ smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL        2019-12-05 10:15:48.300000000 -0500  +++ smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/45CentOSEOL        2019-12-05 10:15:48.300000000 -0500
4  @@ -0,0 +1,19 @@  @@ -0,0 +1,20 @@
5  +{  +{
6  +    use POSIX qw(strftime);  +    use POSIX qw(strftime);
7  +    use File::Slurp;  +    use File::Slurp;
# Line 17  diff -Nur smeserver-yum-2.6.0.old/root/e Line 17  diff -Nur smeserver-yum-2.6.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