refs #401 fix replace in samba template
parent
425cde6f1a
commit
cd49c1c6b7
|
@ -819,7 +819,7 @@ def smbConfigure():
|
|||
# Copiar plantilla de recursos para OpenGnsys
|
||||
with open(os.path.join(WORKDIR, 'ogboot/etc/smb-ogboot.conf.tmpl'), 'r') as tmpl_file:
|
||||
template = tmpl_file.read()
|
||||
replaced_template = template.replace('OGBOOTDIR', INSTALL_OPENGNSYS_TARGET)
|
||||
replaced_template = template.replace('__OGBOOTDIR__', INSTALL_OPENGNSYS_TARGET)
|
||||
|
||||
with open(os.path.join(SAMBACFGDIR, 'smb-ogboot.conf'), 'w') as conf_file:
|
||||
conf_file.write(replaced_template)
|
||||
|
|
Loading…
Reference in New Issue