Skip to content

Commit b94f561

Browse files
committed
Fix installation script
1 parent b48937e commit b94f561

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

utilities/install.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ def main(netpyne_branch, workspace_branch, geppetto_branch=None, skipNpm=False,
194194
if development:
195195
# install geppetto meta
196196
if os.path.exists(os.path.join(WEBAPP_DIR, '.yalc')):
197-
execute(cmd=['ln', '-s', os.path.expanduser('~') + '/.yalc', '.yalc'], cwd=WEBAPP_DIR)
197+
execute(cmd=['rm', '-rf', '.yalc'], cwd=WEBAPP_DIR)
198+
execute(cmd=['ln', '-s', os.path.expanduser('~') + '/.yalc', '.yalc'], cwd=WEBAPP_DIR)
199+
else:
200+
execute(cmd=['ln', '-s', os.path.expanduser('~') + '/.yalc', '.yalc'], cwd=WEBAPP_DIR)
198201
execute(cmd=['ls'], cwd=WEBAPP_DIR)
199202
execute(cmd=['bash', 'geppetto_ui.sh'], cwd=WEBAPP_DIR)
200203
execute(cmd=['yarn'], cwd=WEBAPP_DIR)

0 commit comments

Comments
 (0)