meta: implement linking whole component directories
This commit is contained in:
@@ -24,8 +24,8 @@ def uninstall_component(comp):
|
||||
for f in link_dirs:
|
||||
source_path = os.path.join(comp_dir, f['source'])
|
||||
dest_path = os.path.join(home_dir, f['dest'])
|
||||
if not os.path.exists(dest_path):
|
||||
print(' removing link {} -> {}'.format(dest_path))
|
||||
if os.path.exists(dest_path):
|
||||
print(' removing link {}'.format(dest_path))
|
||||
os.unlink(dest_path)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user