also remove symlinks...

This commit is contained in:
Barış Metin
2005-09-30 13:10:17 +00:00
parent e4adc19198
commit 7e6bc34944
+1 -1
View File
@@ -57,7 +57,7 @@ def remove_single(package_name):
# check if file is removed manually.
# And we don't remove directories!
# FIXME: should give a warning if it is...
if os.path.isfile(fpath):
if os.path.isfile(fpath) or os.path.islink(fpath):
os.unlink(fpath)