mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2024-12-30 14:09:18 -06:00
fix script
This commit is contained in:
parent
ce4371feff
commit
839eb32607
@ -358,12 +358,13 @@ yarn_site='https://dl.yarnpkg.com/debian'
|
|||||||
yarn_key_url="$yarn_site/pubkey.gpg"
|
yarn_key_url="$yarn_site/pubkey.gpg"
|
||||||
local_yarn_key="$keyring/yarnkey.gpg"
|
local_yarn_key="$keyring/yarnkey.gpg"
|
||||||
|
|
||||||
|
exec_cmd "curl -sL $yarn_key_url | gpg --dearmor | tee $local_yarn_key >/dev/null"
|
||||||
|
exec_cmd "echo 'deb [signed-by=$local_yarn_key] $yarn_site stable main' | tee /etc/apt/sources.list.d/yarn.list"
|
||||||
|
|
||||||
print_status """Run \`${bold}sudo apt-get install -y ${NODEPKG}${normal}\` to install ${NODENAME} and npm
|
print_status """Run \`${bold}sudo apt-get install -y ${NODEPKG}${normal}\` to install ${NODENAME} and npm
|
||||||
## You may also need development tools to build native addons:
|
## You may also need development tools to build native addons:
|
||||||
sudo apt-get install gcc g++ make
|
sudo apt-get install gcc g++ make
|
||||||
## To install the Yarn package manager, run:
|
## To install the Yarn package manager, run:
|
||||||
curl -sL $yarn_key_url | gpg --dearmor | sudo tee $local_yarn_key >/dev/null
|
|
||||||
echo \"deb [signed-by=$local_yarn_key] $yarn_site stable main\" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
||||||
sudo apt-get update && sudo apt-get install yarn
|
sudo apt-get update && sudo apt-get install yarn
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user