From 4c60090c7b32aeb753cb3bb40568e95dc4e345e5 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 14 Apr 2021 15:46:14 +0200 Subject: [PATCH] Improved apps --- common/apps/{snap => }/barrier.sh | 2 +- common/apps/snap/vscode.sh | 6 ------ common/apps/vscode.sh | 9 +++++++++ common/scripts/first_install.sh | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) rename common/apps/{snap => }/barrier.sh (64%) delete mode 100644 common/apps/snap/vscode.sh create mode 100644 common/apps/vscode.sh diff --git a/common/apps/snap/barrier.sh b/common/apps/barrier.sh similarity index 64% rename from common/apps/snap/barrier.sh rename to common/apps/barrier.sh index 6883483..e73ad68 100644 --- a/common/apps/snap/barrier.sh +++ b/common/apps/barrier.sh @@ -2,5 +2,5 @@ install_barrier() { echo "Installing barrier" - sudo snap install barrier + sudo apt-get install barrier -y } diff --git a/common/apps/snap/vscode.sh b/common/apps/snap/vscode.sh deleted file mode 100644 index 13136a0..0000000 --- a/common/apps/snap/vscode.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -install_vscode() { - echo "Installing VS Code" - sudo snap install --classic code -} \ No newline at end of file diff --git a/common/apps/vscode.sh b/common/apps/vscode.sh new file mode 100644 index 0000000..d153633 --- /dev/null +++ b/common/apps/vscode.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +install_vscode() { + echo "Installing VS Code" + curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - + sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" + sudo apt-get update + sudo apt-get install code -y +} \ No newline at end of file diff --git a/common/scripts/first_install.sh b/common/scripts/first_install.sh index 49b31ed..f89a000 100644 --- a/common/scripts/first_install.sh +++ b/common/scripts/first_install.sh @@ -3,5 +3,5 @@ first_install() { echo 'Installing useful apps' - sudo apt-get install net-tools nano htop tree zip unzip -y + sudo apt-get install net-tools nano htop tree zip unzip curl wget -y }