diff --git a/install_functions.sh b/install_functions.sh index 38b75b5..0ecb305 100644 --- a/install_functions.sh +++ b/install_functions.sh @@ -166,14 +166,9 @@ function installGamesMenu () { # Steam (headless) # function installSteam () { - runCmd "echo steam steam/purge note | sudo debconf-set-selections" \ - "accepting steam licence" - - runCmd "echo steam steam/license note | sudo debconf-set-selections" \ - "accepting steam licence 2/3" - - runCmd "echo steam steam/question select I AGREE | sudo debconf-set-selections" \ - "accepting steam licence 3/3" + runCmd "echo steam steam/purge \"note\" | sudo debconf-set-selections \"accepting steam licence\"" + runCmd "echo steam steam/license \"note\" | sudo debconf-set-selections \"accepting steam licence 2/3\"" + runCmd "echo steam steam/question select \"I AGREE\" | sudo debconf-set-selections \"accepting steam licence 3/3\"" installPackage apt steam } @@ -181,14 +176,6 @@ function installSteam () { # Steam (Menu) # function installSteamMenu () { - runCmd "echo steam steam/purge note | sudo debconf-set-selections" \ - "accepting steam licence" - - runCmd "echo steam steam/license note | sudo debconf-set-selections" \ - "accepting steam licence 2/3" - - runCmd "echo steam steam/question select I AGREE | sudo debconf-set-selections" \ - "accepting steam licence 3/3" installPackage apt steam }