install_lutris.sh 528 B

12345678910111213141516171819
  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. # wine
  11. $su dpkg --add-architecture i386
  12. $su apt-get update
  13. $su apt-get -y --fix-missing install lutris wine32 wine64 lgogdownloader
  14. $su apt-get -y --fix-missing install wine32:i386
  15. $su apt-get -y --fix-missing install libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers
  16. $su apt-get -y --fix-missing install libgl1-mesa-dri:i386 mesa-vulkan-drivers:i386 libfreetype6:i386