From a3d400e580ab89a26f1b9cb019c0bba83806a978 Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Tue, 8 Jan 2013 15:12:39 +0100 Subject: [PATCH 1/1] ... --- .gitignore | 10 ++++++++++ checkinstall.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0152448 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +*.pyc +*.pyc +*.pyc +*.pyc +*.pyc +*.pyc +*.pyc +*.pyc +*.pyc +*.pyc diff --git a/checkinstall.py b/checkinstall.py index 742c15a..65af3ff 100644 --- a/checkinstall.py +++ b/checkinstall.py @@ -72,7 +72,7 @@ def CopyConf(self) : dicoUser = self.DictPath dicoAppli = ConstructDicoPath(self.AppliPath) for fi in dicoUser : - if not os.path.exists(dicoUser[fi]) : + if not os.path.exists(dicoUser[fi]) and os.path.exists(dicoAppli[fi]): shutil.copyfile(dicoAppli[fi], dicoUser[fi]) def CheckRPath(PathPath): -- 2.7.4