/[smeserver]/rpms/smeserver-manager/sme10/smeserver-manager-0.1.2-theme_switch.patch
ViewVC logotype

Contents of /rpms/smeserver-manager/sme10/smeserver-manager-0.1.2-theme_switch.patch

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


Revision 1.1 - (show annotations) (download)
Tue Apr 20 20:12:10 2021 UTC (3 years, 6 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-manager-0_1_2-11_el7_sme, smeserver-manager-0_1_2-8_el7_sme, smeserver-manager-0_1_2-10_el7_sme, smeserver-manager-0_1_2-13_el7_sme, smeserver-manager-0_1_2-12_el7_sme, smeserver-manager-0_1_2-9_el7_sme
make: « clog » est à jour.

1 diff -urN smeserver-manager-0.1.2.old/createlinks smeserver-manager-0.1.2/createlinks
2 --- smeserver-manager-0.1.2.old/createlinks 2021-04-20 22:54:26.000000000 +0400
3 +++ smeserver-manager-0.1.2/createlinks 2021-04-20 23:46:14.363000000 +0400
4 @@ -16,7 +16,7 @@
5 }
6
7 templates2events("$mngrdir/conf/srvmngr.conf",
8 - qw( smeserver-manager-update smanager-modify bootstrap-console-save ));
9 + qw( smeserver-manager-update smanager-theme-change smanager-modify bootstrap-console-save ));
10
11 templates2events("/etc/httpd/conf/httpd.conf",
12 qw( smeserver-manager-update smanager-modify ));
13 @@ -31,6 +31,9 @@
14 "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
15 }
16
17 +safe_symlink("reload",
18 + "root/etc/e-smith/events/smanager-theme-change/services2adjust/smanager");
19 +
20 safe_symlink("restart",
21 "root/etc/e-smith/events/smanager-refresh/services2adjust/smanager");
22
23 diff -urN smeserver-manager-0.1.2.old/root/usr/share/smanager/lib/SrvMngr/Controller/Swttheme.pm smeserver-manager-0.1.2/root/usr/share/smanager/lib/SrvMngr/Controller/Swttheme.pm
24 --- smeserver-manager-0.1.2.old/root/usr/share/smanager/lib/SrvMngr/Controller/Swttheme.pm 2020-11-19 11:53:26.000000000 +0400
25 +++ smeserver-manager-0.1.2/root/usr/share/smanager/lib/SrvMngr/Controller/Swttheme.pm 2021-04-20 22:34:06.000000000 +0400
26 @@ -35,7 +35,7 @@
27 $c->session->{CurrentTheme} = $theme;
28
29 $db->get('smanager')->set_prop('Theme', $theme);
30 - system ("/sbin/e-smith/signal-event smanager-modify") == 0
31 + system ("/sbin/e-smith/signal-event smanager-theme-change") == 0
32 or warn "$c->l('ERROR_UPDATING')";
33 }
34
35 diff -urN smeserver-manager-0.1.2.old/root/usr/share/smanager/lib/SrvMngr.pm smeserver-manager-0.1.2/root/usr/share/smanager/lib/SrvMngr.pm
36 --- smeserver-manager-0.1.2.old/root/usr/share/smanager/lib/SrvMngr.pm 2021-04-20 22:54:26.000000000 +0400
37 +++ smeserver-manager-0.1.2/root/usr/share/smanager/lib/SrvMngr.pm 2021-04-20 23:54:41.738000000 +0400
38 @@ -23,7 +23,7 @@
39 use SrvMngr::Model::Main;
40
41
42 -our $VERSION = '1.207';
43 +our $VERSION = '1.208';
44 $VERSION = eval $VERSION;
45
46 use Exporter 'import';

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