08.install_flatpaks.sh 444 B

123456789101112131415161718
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. # Set superuser privileges command if not set
  7. if [[ -z $su ]]; then
  8. export su="sudo"
  9. fi
  10. $su apt-get -y --fix-missing install flatpak
  11. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  12. flatpak install flathub com.google.Chrome
  13. flatpak install flathub org.chromium.Chromium
  14. flatpak install flathub com.jetbrains.IntelliJ-IDEA-Community