Remove unnecessary sudo for CrisisCleanup apt-key add
This commit is contained in:
parent
dd2966883f
commit
ef7eaba899
@ -4,7 +4,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))
|
|||||||
|
|
||||||
# Add NodeJS + Yarn repositories
|
# Add NodeJS + Yarn repositories
|
||||||
wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O - | apt-key add -
|
wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O - | apt-key add -
|
||||||
wget https://dl.yarnpkg.com/debian/pubkey.gpg -O - | sudo apt-key add -
|
wget https://dl.yarnpkg.com/debian/pubkey.gpg -O - | apt-key add -
|
||||||
echo 'deb https://deb.nodesource.com/node_8.x xenial main' > /etc/apt/sources.list.d/nodejs.list
|
echo 'deb https://deb.nodesource.com/node_8.x xenial main' > /etc/apt/sources.list.d/nodejs.list
|
||||||
echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list
|
echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list
|
||||||
apt-get -y update
|
apt-get -y update
|
||||||
|
Loading…
Reference in New Issue
Block a user