Skip to content

Commit

Permalink
Update installcode.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sirredbeard authored Sep 27, 2018
1 parent 6a89248 commit 83a815b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions linux_files/installcode.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
CURDIR=$(pwd)
TMPDIR=$(mktemp -d)
cd $TMPDIR

sudo apt-get install apt-transport-https curl -y
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
Expand All @@ -7,3 +10,6 @@ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode s
sudo apt upgrade -y
sudo apt update -y
sudo apt install code libxss1 libasound2

cd $CURDIR
rm -r $TMPDIR

0 comments on commit 83a815b

Please sign in to comment.