Remove unnecessary sudo for CrisisCleanup apt-key add

This commit is contained in:
Disassembler 2017-12-01 22:39:09 +01:00
parent dd2966883f
commit ef7eaba899

View File

@ -4,7 +4,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))
# Add NodeJS + Yarn repositories
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://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list
apt-get -y update