headless steam fct upd

This commit is contained in:
Francois B 2018-05-27 02:24:25 +02:00
parent 169ba609a5
commit 8a9f8d0136
2 changed files with 12 additions and 15 deletions

View file

@ -166,9 +166,12 @@ function installGamesMenu () {
# Steam (headless) # Steam (headless)
# #
function installSteam () { function installSteam () {
runCmd "echo steam steam/purge \"note\" | sudo debconf-set-selections \"accepting steam licence\"" runCmd "echo \"steam steam/purge note\" | sudo debconf-set-selections" \
runCmd "echo steam steam/license \"note\" | sudo debconf-set-selections \"accepting steam licence 2/3\"" "accepting steam licence"
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
} }

View file

@ -172,9 +172,12 @@ function installGamesMenu () {
# Steam (headless) # Steam (headless)
# #
function installSteam () { function installSteam () {
runCmd "echo steam steam/purge \"note\" | sudo debconf-set-selections \"accepting steam licence\"" runCmd "echo \"steam steam/purge note\" | sudo debconf-set-selections" \
runCmd "echo steam steam/license \"note\" | sudo debconf-set-selections \"accepting steam licence 2/3\"" "accepting steam licence"
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
} }
@ -662,15 +665,6 @@ function installRubyMenu () {
installAppsFromListMenu ruby installAppsFromListMenu ruby
} }
#TODO:
function installAndroidEnv () {
msg="Installing Android environment"
runCmd "touch /home/$myHomedir/.bashrc" \
"creating .bashrc file if necessary"
sh -c "echo '\n\nexport PATH=${PATH}:/home/'$myHomedir'/Android/Sdk/tools:/home/'$myHomedir'/Android/Sdk/platform-tools' >> /home/$myHomedir/.bashrc"
}
# #
# install Atom App (headless) # install Atom App (headless)
# #