#!/bin/bash # Fanta d="/tmp/scummvm" if [ "$(whoami)" != "root" ]; then echo "[+] Checking root user" echo -e "\e[31m\e[1m[NOT OK]\e[0m Run it with root please" && exit fi # Ubuntu 20.04.4 LTS cat /etc/issue | grep "Ubuntu 20.04.4 LTS" 1>/dev/null ; if [ "$?" -ne 1 ]; then apt update -y ; apt install -y git make gcc g++ libsdl2-dev git clone -b master --depth 1 "https://github.com/scummvm/scummvm.git" $d ; cd $d ./configure --enable-all-engines --disable-discord --enable-plugins --enable-profiling make ; make install fi