Add script for installing VSCodium
This commit is contained in:
parent
1e42b869b7
commit
d18e6cd765
1 changed files with 16 additions and 0 deletions
16
scripts/PopOS/software/codium.sh
Normal file
16
scripts/PopOS/software/codium.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue