Use new VSCode repos (#107)
This commit is contained in:
parent
6b9517b7a3
commit
41ecb39dd5
1 changed files with 3 additions and 2 deletions
|
@ -43,8 +43,9 @@ sudo usermod -aG docker $USER
|
|||
# vscode
|
||||
mkdir -p ~/Downloads
|
||||
cd ~/Downloads
|
||||
aria2c -c "https://go.microsoft.com/fwlink/?LinkID=760867"
|
||||
sudo dnf -y install code*.rpm
|
||||
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
||||
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
|
||||
sudo dnf -y install --best --allowerasing code
|
||||
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
code --install-extension cssho.vscode-svgviewer
|
||||
|
|
Loading…
Reference in a new issue