/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch
ViewVC logotype

Contents of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch

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


Revision 1.3 - (show annotations) (download)
Mon Jul 11 15:20:33 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
bump version

1 diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible
2 --- smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible 2008-10-07 10:25:45.000000000 -0400
3 +++ smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible 2019-12-04 23:36:04.946000000 -0500
4 @@ -1 +1 @@
5 -no
6 +yes
7 diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs
8 --- smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs 1969-12-31 19:00:00.000000000 -0500
9 +++ smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs 2019-12-05 10:25:47.286000000 -0500
10 @@ -0,0 +1,9 @@
11 +{
12 + for my $name ( qw(smecontribs) )
13 + {
14 + my $repo = $DB->get($name) or next;
15 + #only migrate if restore from previous SME version, we do not want to override an admin setting for current version.
16 + return unless $repo->prop('MirrorList') =~ m{/$name-[789]$};
17 + $repo->set_prop('Visible', 'yes');
18 + }
19 +}

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