headless steam fct upd
This commit is contained in:
parent
169ba609a5
commit
8a9f8d0136
2 changed files with 12 additions and 15 deletions
|
@ -166,9 +166,12 @@ 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
|
||||
}
|
||||
|
||||
|
|
|
@ -172,9 +172,12 @@ 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
|
||||
}
|
||||
|
||||
|
@ -662,15 +665,6 @@ function installRubyMenu () {
|
|||
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)
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue