Kaydet (Commit) 1c2df789 authored tarafından Gürer Özen's avatar Gürer Özen

sen de güvenli iş yap

üst 7be4880f
......@@ -106,14 +106,9 @@ def generate_ld_so_conf(envdict):
return tmp + "\n"
def update_file(path, content):
if os.path.exists(path):
data = file(path).read()
if data == content:
return False
f = file(path, "w")
f.write(content)
f.close()
return True
def update_environment(prefix):
join = os.path.join
......
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