Fix uninstallling of activities that use symlinks #171

master
Simon Schampijer 16 years ago
parent 488b9ecbb2
commit 97e6480be1

@ -191,5 +191,9 @@ class Bundle(object):
for name in files:
os.remove(os.path.join(root, name))
for name in dirs:
os.rmdir(os.path.join(root, name))
path = os.path.join(root, name)
if os.path.islink(path):
os.remove(path)
else:
os.rmdir(path)
os.rmdir(install_path)

Loading…
Cancel
Save