added codium

This commit is contained in:
2025-12-20 18:18:49 -08:00
parent b7927dc764
commit 4ee06afd80

View File

@@ -84,15 +84,27 @@ apt-get install --no-install-recommends -y git
# apt-get install --no-install-recommends -y adb # apt-get install --no-install-recommends -y adb
apt-get install --no-install-recommends -y python apt-get install --no-install-recommends -y python
if dpkg -s code &> /dev/null # if dpkg -s code &> /dev/null
# then
# echo "INFO ! VS-Code installed ... moving on."
# else
# echo " "
# echo "WARNING ! VS-Code not installed ... will install now."
# wget --no-cache --show-progress --progress=bar:force:noscroll "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O vs-code.deb
# dpkg -i vs-code.deb
# rm -fr vs-code.deb
# fi
if dpkg -s codium &> /dev/null
then then
echo "INFO ! VS-Code installed ... moving on." echo "INFO ! VS-Codium installed ... moving on."
else else
echo " " echo " "
echo "WARNING ! VS-Code not installed ... will install now." echo "WARNING ! VS-Codium not installed ... will install now."
wget --no-cache --show-progress --progress=bar:force:noscroll "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O vs-code.deb 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
dpkg -i vs-code.deb echo -e 'Types: deb\nURIs: https://download.vscodium.com/debs\nSuites: vscodium\nComponents: main\nArchitectures: amd64 arm64\nSigned-by: /usr/share/keyrings/vscodium-archive-keyring.gpg' | tee /etc/apt/sources.list.d/vscodium.sources
rm -fr vs-code.deb apt-get update
apt-get install --no-install-recommends -y install codium
fi fi
echo " " echo " "