summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleric Inglewood <Aleric.Inglewood@gmail.com>2010-12-15 17:31:18 +0100
committerAleric Inglewood <Aleric.Inglewood@gmail.com>2010-12-15 17:31:18 +0100
commit429e0caf17427b7a1d78b667c1bb1dd107379bf4 (patch)
treee98a10f615a2fd57df6d08570311af8f28dedc7e
parent9c97a200bebe310f91c9ab181fbe337eeab30aaa (diff)
SNOW-744: scripts/install.py --uninstall does not remove symbolic links.
This fixes the problem that when some package contains symbolic links, they were never removed anymore (after an uninstall of that package).
-rw-r--r--doc/contributions.txt1
-rwxr-xr-xscripts/install.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt
index 740c2f470c..3f080dfb6d 100644
--- a/doc/contributions.txt
+++ b/doc/contributions.txt
@@ -74,6 +74,7 @@ Aleric Inglewood
VWR-14426
SNOW-84
SNOW-477
+ SNOW-744
SNOW-766
STORM-163
Ales Beaumont
diff --git a/scripts/install.py b/scripts/install.py
index c2adf4d0a2..d3bdf52283 100755
--- a/scripts/install.py
+++ b/scripts/install.py
@@ -486,7 +486,7 @@ windows/i686/vs/2003 -- specify a windows visual studio 2003 package"""
for filename in remove_file_list:
print "rm",filename
if not self._dryrun:
- if os.path.exists(filename):
+ if os.path.lexists(filename):
remove_dir_set.add(os.path.dirname(filename))
try:
os.remove(filename)