From 8a9f8d0136411d483bf9b222d144d24eaeec61b1 Mon Sep 17 00:00:00 2001 From: Francois B Date: Sun, 27 May 2018 02:24:25 +0200 Subject: [PATCH] headless steam fct upd --- install_functions_ub1604.sh | 9 ++++++--- install_functions_ub1804.sh | 18 ++++++------------ 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/install_functions_ub1604.sh b/install_functions_ub1604.sh index c1212a8..25079ed 100644 --- a/install_functions_ub1604.sh +++ b/install_functions_ub1604.sh @@ -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 } diff --git a/install_functions_ub1804.sh b/install_functions_ub1804.sh index 04af22b..c7cbe64 100644 --- a/install_functions_ub1804.sh +++ b/install_functions_ub1804.sh @@ -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) #