From 429e0caf17427b7a1d78b667c1bb1dd107379bf4 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood <Aleric.Inglewood@gmail.com> Date: Wed, 15 Dec 2010 17:31:18 +0100 Subject: 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). --- doc/contributions.txt | 1 + scripts/install.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3