1 |
jpp |
1.1 |
diff -Nur 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 2020-01-30 22:04:45.015000000 -0500 |
3 |
|
|
+++ smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2020-01-30 22:06:15.524000000 -0500 |
4 |
|
|
@@ -288,7 +288,8 @@ |
5 |
|
|
print "Expanding templates" |
6 |
|
|
for ktemplates in templateslist: |
7 |
|
|
#print ktemplates |
8 |
|
|
- if os.path.isfile(ktemplates): |
9 |
jpp |
1.2 |
+ mytemplatedir = '/etc/e-smith/templates/' + ktemplates |
10 |
jpp |
1.1 |
+ if os.path.exists(mytemplatedir): |
11 |
|
|
os.spawnl(os.P_WAIT, expand_template, expand_template, ktemplates) |
12 |
|
|
|
13 |
|
|
if len(serviceslist)>0: |