/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10846.templates.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10846.templates.patch

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

Revision 1.1 by jpp, Fri Jan 31 03:08:38 2020 UTC Revision 1.2 by jpp, Fri Jan 31 03:15:27 2020 UTC
# Line 6  diff -Nur smeserver-yum-2.6.0.old/root/u Line 6  diff -Nur smeserver-yum-2.6.0.old/root/u
6           for ktemplates in templateslist:           for ktemplates in templateslist:
7               #print ktemplates               #print ktemplates
8  -            if os.path.isfile(ktemplates):  -            if os.path.isfile(ktemplates):
9  +               mytemplatedir = '/etc/e-smith/templates/' + ktemplates  +            mytemplatedir = '/etc/e-smith/templates/' + ktemplates
10  +            if os.path.exists(mytemplatedir):  +            if os.path.exists(mytemplatedir):
11                   os.spawnl(os.P_WAIT, expand_template, expand_template, ktemplates)                   os.spawnl(os.P_WAIT, expand_template, expand_template, ktemplates)
12    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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