summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
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).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.py2
1 files changed, 1 insertions, 1 deletions
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)