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-11-10 22:20:55.981000000 -0500 |
3 |
+++ smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2020-11-10 22:22:04.999000000 -0500 |
4 |
@@ -289,7 +289,8 @@ |
5 |
for ktemplates in templateslist: |
6 |
#print ktemplates |
7 |
mytemplatedir = '/etc/e-smith/templates/' + ktemplates |
8 |
- if os.path.exists(mytemplatedir): |
9 |
+ mytemplatemeta = '/etc/e-smith/templates.metadata/' + ktemplates |
10 |
+ if os.path.exists(mytemplatedir) or os.path.exists(mytemplatemeta): |
11 |
os.spawnl(os.P_WAIT, expand_template, expand_template, ktemplates) |
12 |
|
13 |
if len(serviceslist)>0: |