From: Edward Delaporte Date: Sat, 23 Oct 2021 04:44:18 +0000 (+0100) Subject: Simpler VSCode install. Works on Pi X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/158b476f40b9b827a82c38a877fdadd1de2dffd4?ds=sidebyside Simpler VSCode install. Works on Pi --- diff --git a/install/code.sh b/install/code.sh old mode 100644 new mode 100755 index 93a0e58..52f62ad --- a/install/code.sh +++ b/install/code.sh @@ -1,8 +1 @@ -if [ ! -d ~/.installed/code ]; then - echo "************** Install Visual Studio Code" - # sudo apt install snapd - # sudo snap install --classic code - wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key add - - curl -L https://raw.githubusercontent.com/headmelted/codebuilds/master/docs/installers/apt.sh | sudo bash - touch ~/.installed/code -fi +apt install code