Commit 1b21f262 authored by Devaev Maxim's avatar Devaev Maxim

In setup.py fixed /etc replacement

parent 7d13de9e
......@@ -49,8 +49,7 @@ class SettingsdInstall(install) :
for replaces_list_item in ( ("\"plugins/functions\"", "\"%s\"" % (os.path.join(self.install_data, "share/settingsd/functions"))),
("\"plugins/actions\"", "\"%s\"" % (os.path.join(self.install_data, "share/settingsd/actions"))),
("\"plugins/customs\"", "\"%s\"" % (os.path.join(self.install_data, "share/settingsd/customs"))),
("\"configs/settingsd\"", "\"%s\"" % (( self.root if self.root != None else "/" )+"etc/settingsd")) ) :
print os.path.join(self.install_libbase, "settingsd/const.py"), replaces_list_item[0], replaces_list_item[1]
("\"configs/settingsd\"", "\"%s\"" % (os.path.join(( self.root if self.root != None else "/" ), "etc/settingsd")) ) :
const_py_file_data = const_py_file_data.replace(replaces_list_item[0], replaces_list_item[1])
const_py_file.truncate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment