From 7b19a31f782f303bdc0153caac37a147e6cde8a0 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Wed, 7 Feb 2007 13:29:41 +0000 Subject: [PATCH] i hate symlinks. --- pisi/atomicoperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index e2fe7ed3..397195c9 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -301,7 +301,7 @@ class Install(AtomicOperation): os.makedirs(destdir) if os.path.islink(old_path): - if not os.path.exists(new_path): + if not os.path.lexists(new_path): os.symlink(os.readlink(old_path), new_path) else: shutil.copy(old_path, new_path)