1 |
diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py |
2 |
--- smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py 2021-03-30 12:16:36.461000000 -0400 |
3 |
+++ smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2021-03-30 12:21:31.608000000 -0400 |
4 |
@@ -216,7 +216,7 @@ |
5 |
# thispo.dirlist thispo.ghostlist thispo.filelist |
6 |
if "/etc/e-smith/web/panels/manager/cgi-bin" in thispo.dirlist: |
7 |
log(" ==> pannel detected : adding navigation-conf") |
8 |
- actionlist['S80navigation-conf']="../actions/navigation-conf" |
9 |
+ actionlist['S80navigation-conf']="/etc/e-smith/events/actions/navigation-conf" |
10 |
|
11 |
else: |
12 |
if (n.startswith('smeserver') or n.startswith('e-smith')) and not n.startswith('smeserver-locale'): |
13 |
@@ -351,7 +351,7 @@ |
14 |
# thispo.dirlist thispo.ghostlist thispo.filelist |
15 |
if "/etc/e-smith/web/panels/manager/cgi-bin" in thispo.dirlist: |
16 |
log(" ==> pannel detected : adding navigation-conf") |
17 |
- actionlist['S80navigation-conf']="../actions/navigation-conf" |
18 |
+ actionlist['S80navigation-conf']="/etc/e-smith/events/actions/navigation-conf" |
19 |
|
20 |
else: |
21 |
if (n.startswith('smeserver') or n.startswith('e-smith')) and not n.startswith('smeserver-locale') and not (n in removenorebootok): |
22 |
@@ -401,18 +401,18 @@ |
23 |
if len(actionlist)>0: |
24 |
print " Adding actions to execute" |
25 |
for kactions in actionlist: |
26 |
- log(" " + kactions) |
27 |
if os.path.isfile(actionlist[kactions]): |
28 |
+ log(" " + kactions) |
29 |
os.symlink(actionlist[kactions],'/etc/e-smith/events/temp/' + kactions) |
30 |
|
31 |
# fill it with our list of templates to expand |
32 |
if len(templateslist)>0: |
33 |
print " Adding templates to expand" |
34 |
for ktemplates in templateslist: |
35 |
- log(" " + ktemplates) |
36 |
mytemplatedir = '/etc/e-smith/templates/' + ktemplates |
37 |
mytemplatemeta = '/etc/e-smith/templates.metadata/' + ktemplates |
38 |
if os.path.exists(mytemplatedir) or os.path.exists(mytemplatemeta): |
39 |
+ log(" " + ktemplates) |
40 |
addtemplate2expand(ktemplates) |
41 |
|
42 |
if len(serviceslist)>0: |