From 1c2df789a21ef04f9ba459ba8c797e79ae7aeb64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrer=20=C3=96zen?= Date: Thu, 25 May 2006 18:52:48 +0000 Subject: [PATCH] =?UTF-8?q?sen=20de=20g=C3=BCvenli=20i=C5=9F=20yap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/environment.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pisi/environment.py b/pisi/environment.py index 416d3eef..466676a2 100644 --- a/pisi/environment.py +++ b/pisi/environment.py @@ -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