4 |
@@ -1 +1 @@ |
@@ -1 +1 @@ |
5 |
-no |
-no |
6 |
+yes |
+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 |
|
+} |