From d18e6cd76533da4e7cd872a4c4ecf0991e415248 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 12 Nov 2022 03:45:41 +0100 Subject: [PATCH] Add script for installing VSCodium --- scripts/PopOS/software/codium.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scripts/PopOS/software/codium.sh diff --git a/scripts/PopOS/software/codium.sh b/scripts/PopOS/software/codium.sh new file mode 100644 index 00000000..6ba6e371 --- /dev/null +++ b/scripts/PopOS/software/codium.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# Elevate script +if [ ! "$UID" -eq 0 ] +then + exec sudo bash "$0" +fi + +wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \ + | gpg --dearmor \ + | dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg + +echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main' \ + | tee /etc/apt/sources.list.d/vscodium.list + +apt update +apt install -y codium