File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ if [[ $EUID -ne 0 ]]; then
4
4
exit 1
5
5
fi
6
6
touch /etc/apt/sources.list.d/google-chrome.list
7
- echo ' deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list
7
+ echo ' deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list
8
+ echo " deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list
8
9
curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add linux_signing_key.pub
9
10
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
10
11
install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
11
- echo " deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list
12
12
apt update
13
13
echo ' Start install'
14
14
apt-get -y install google-chrome-stable git apt-transport-https code
You can’t perform that action at this time.
0 commit comments