Skip to content

Commit

Permalink
Merge pull request #6090 from mzimandl/fixes
Browse files Browse the repository at this point in the history
Old nodejs install script is back
  • Loading branch information
tomachalek authored Jan 31, 2024
2 parents 8d636f9 + 2f50d9d commit e6cdacb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@
subprocess.check_call(['pip3 install simplejson signalfd -r requirements.txt'],
cwd=KONTEXT_PATH, stdout=stdout, shell=True)
subprocess.check_call(
'curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg', shell=True)
subprocess.check_call(
'echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list', shell=True)
subprocess.check_call('sudo apt-get update && sudo apt-get install nodejs -y', shell=True)
'curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -', shell=True)
subprocess.check_call('sudo apt-get install -y nodejs', shell=True)
except Exception as ex:
print(f'failed to install dependencies: {ex}')

Expand Down

0 comments on commit e6cdacb

Please sign in to comment.