steam headless install fixed

This commit is contained in:
Francois B 2018-05-22 19:28:29 +02:00
parent 99145ec623
commit 3443bf1f13

View file

@ -166,14 +166,9 @@ function installGamesMenu () {
# Steam (headless) # Steam (headless)
# #
function installSteam () { function installSteam () {
runCmd "echo steam steam/purge note | sudo debconf-set-selections" \ runCmd "echo steam steam/purge \"note\" | sudo debconf-set-selections \"accepting steam licence\""
"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/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 installPackage apt steam
} }
@ -181,14 +176,6 @@ function installSteam () {
# Steam (Menu) # Steam (Menu)
# #
function installSteamMenu () { 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 installPackage apt steam
} }