@@ -26,8 +26,8 @@ nvidia_allowupdate="true"
2626for arg in " $@ " ; do
2727 if [[ " $arg " = " --force" || " $arg " = " -f" ]] ; then
2828 option_noconfirm=" true"
29- # elif [[ "$arg" = "nolutris" ]] ; then
30- # lutris_install="false"
29+ # elif [[ "$arg" = "nolutris" ]] ; then
30+ # lutris_install="false"
3131 elif [[ " $arg " = " nosteam" ]] ; then
3232 steam_install=" false"
3333 elif [[ " $arg " = " nowinetricks" ]] ; then
@@ -49,7 +49,7 @@ for arg in "$@" ; do
4949 elif [[ " $arg " = " --help" || " $arg " = " -h" ]] ; then
5050 echo " usage: ./ubuntu-gaming.sh [OPTIONS]"
5151 echo " --force - no questions while installing / uninstalling packages - this might break your system"
52- # echo "nolutris - don't install Lutris"
52+ # echo "nolutris - don't install Lutris"
5353 echo " nosteam - don't install Steam"
5454 echo " nowinetricks - don't install Winetricks"
5555 echo " nots3 - don't install Teamspeak3"
@@ -69,7 +69,7 @@ if [ "$(grep -P '^NAME=\"Pop\!' /etc/os-release -c)" = "1" ] ; then
6969 exit
7070fi
7171
72- # load os-release variables
72+ # load os-release variables
7373# shellcheck disable=SC1091
7474source /etc/os-release
7575
@@ -113,7 +113,7 @@ if [ "${mumble_install}" = "true" ] ; then
113113 pkg_additional_install=" ${pkg_additional_install} mumble "
114114fi
115115if [ " ${gamemode_install} " = " true" ] ; then
116- pkg_additional_install=" ${pkg_additional_install} gamemode "
116+ pkg_additional_install=" ${pkg_additional_install} gamemode "
117117fi
118118
119119apt update && apt upgrade ${installer_addition}
204204if [ " ${nvidia_install} " = " true" ] ; then
205205 if [ ! -f " /etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-${UBUNTU_CODENAME} .list" ] ; then
206206 echo " ### adding ubuntu's GPU Drivers PPA, press ENTER to confirm"
207- add-apt-repository ppa:graphics-drivers/ppa ${installer_addition}
208- echo " ### updating repositories for the new ppa"
209- apt update
207+ add-apt-repository ppa:graphics-drivers/ppa ${installer_addition}
208+ echo " ### updating repositories for the new ppa"
209+ apt update
210210 else
211211 echo " ### graphics-drivers ppa already installed, skipping"
212212 fi
0 commit comments