From f2540d97fd54cf2a186fccd6468cf9a98da2181a Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Tue, 27 Jun 2006 12:23:45 +0000 Subject: [PATCH] =?UTF-8?q?*=20gurer=20san=20d=C3=BCzeltti.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/environment.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pisi/environment.py b/pisi/environment.py index 81cb5bc7..e15610c2 100644 --- a/pisi/environment.py +++ b/pisi/environment.py @@ -58,8 +58,9 @@ def read_env_d(envdir): # skip backup and version control files if name.endswith("~") or name.endswith(".bak") or name.endswith(",v"): continue - # skip pisi's new config files - if name.endswith(".new"): + # skip pisi's config file backups + # .oldconfig is obsolete, but checked anyway cause it may still exist at old systems + if name.endswith(".oldconfig") or name.endswith(".newconfig"): continue paths.append(path) paths.sort()