vp-14-add-vscodium.sh 521 B

12345678910111213141516171819
  1. #!/bin/bash
  2. if (( $EUID != 0 )); then
  3. echo "Eseguire lo script come amministratore"
  4. exit
  5. fi
  6. # scarico chiave GPG la installo
  7. wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/vscodium.gpg
  8. # aggiungo il repository
  9. echo 'deb https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main' | sudo tee --append /etc/apt/sources.list.d/vscodium.list
  10. # aggiorno apt
  11. apt-get update
  12. # installo vscodium
  13. apt-get install codium