cli opts changes

This commit is contained in:
Francois B 2018-03-25 22:46:40 +02:00
parent ba6abe317d
commit f1e894e587
3 changed files with 24 additions and 4 deletions

View file

@ -555,7 +555,7 @@ function usage () {
printf "\n" printf "\n"
printf $NORMAL printf $NORMAL
printf "Usage : yggdrasil [options]\n\n" printf "Usage : yggdrasil [options]\n\n"
printf " "$BOLDVERT"-f"$NORMAL" : install everything (see doc for exceptions)\n" printf " "$BOLDVERT"-f"$NORMAL" : install everything (=a+c+w+d+k)\n"
printf " "$BOLDVERT"-a"$NORMAL" : install all apps\n" printf " "$BOLDVERT"-a"$NORMAL" : install all apps\n"
printf " "$BOLDVERT"-c"$NORMAL" : install gtk themes and icons\n" printf " "$BOLDVERT"-c"$NORMAL" : install gtk themes and icons\n"
printf " "$BOLDVERT"-w"$NORMAL" : install Nitrogen + remove desktop management from caja\n" printf " "$BOLDVERT"-w"$NORMAL" : install Nitrogen + remove desktop management from caja\n"

View file

@ -159,7 +159,22 @@ function installGamesMenu () {
} }
# #
# Steam (Menu only, due to licence agreement) # 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"
installPackage apt steam
}
#
# Steam (Menu)
# #
function installSteamMenu () { function installSteamMenu () {
runCmd "echo steam steam/purge note | sudo debconf-set-selections" \ runCmd "echo steam steam/purge note | sudo debconf-set-selections" \

View file

@ -82,6 +82,7 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,w,p,T" option; do
installBurningTools installBurningTools
installEbook installEbook
installGames installGames
installSteam
installInternet installInternet
installJava9 installJava9
installMiscUtilities installMiscUtilities
@ -112,8 +113,8 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,w,p,T" option; do
;; ;;
f) # full install f) # full install
# except # except
# apps : Nitrogen, Beta apps, Nightly, Unboud # apps : Beta apps, Nightly
# hw : solaar, cardreader, fixWirelessIntel6320, nvidia drivers # hw : solaar, fixWirelessIntel6320, nvidia drivers
# tlp, KeyID # tlp, KeyID
# tweak : /tmp in ram # tweak : /tmp in ram
#TODO: dev apps #TODO: dev apps
@ -129,6 +130,7 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,w,p,T" option; do
installBurningTools installBurningTools
installEbook installEbook
installGames installGames
installSteam
installInternet installInternet
installJava9 installJava9
installMiscUtilities installMiscUtilities
@ -144,12 +146,15 @@ while getopts ":h,v,f,c,u,a,d,k,s,t,n,w,p,T" option; do
msg "Installing HW related" msg "Installing HW related"
installWebcam installWebcam
updateMicrocode updateMicrocode
installCardReader
msg "Applying system customizations" msg "Applying system customizations"
enableUFW enableUFW
enableNumLockX enableNumLockX
addScreenfetchBashrc addScreenfetchBashrc
enableHistoryTS enableHistoryTS
installUnattendedUpgrades installUnattendedUpgrades
installNitrogen
enableUnbound
msg "Installing additional themes/icons" msg "Installing additional themes/icons"
installIcons installIcons
installThemes installThemes