Oibaf PPA added in menus, cli options, ...
This commit is contained in:
parent
0ccdaab476
commit
f93b203cb6
5 changed files with 35 additions and 1 deletions
|
@ -576,6 +576,7 @@ function usage () {
|
|||
printf " "$BOLDVERT"-s"$NORMAL" : install Solaar for Logitech Unifying devices\n"
|
||||
printf " "$BOLDVERT"-t"$NORMAL" : install TLP for Laptops and low energy usage\n"
|
||||
printf " "$BOLDVERT"-n"$NORMAL" : install lastest Nvidia graphic drivers\n"
|
||||
printf " "$BOLDVERT"-g"$NORMAL" : install lastest free graphic drivers, mesa, ...\n"
|
||||
printf " "$BOLDVERT"-k"$NORMAL" : update system to the latest kernel\n"
|
||||
printf " "$BOLDVERT"-u"$NORMAL" : update system (apt,snap,...)\n"
|
||||
printf " "$BOLDVERT"-p"$NORMAL" : clean useless packages\n"
|
||||
|
|
|
@ -431,6 +431,20 @@ function installWebcamMenu () {
|
|||
installAppsFromListMenu webcam
|
||||
}
|
||||
|
||||
#
|
||||
# install latest versions of graphic drivers, mesa, .... (headless)
|
||||
#
|
||||
function installOibaf () {
|
||||
addRepo_Oibaf
|
||||
}
|
||||
|
||||
#
|
||||
# install latest versions of graphic drivers, mesa, .... (Menu)
|
||||
#
|
||||
function installOibafMenu () {
|
||||
addRepo_Oibaf
|
||||
}
|
||||
|
||||
#
|
||||
# install Nvidia Drivers (headless)
|
||||
#
|
||||
|
|
|
@ -406,6 +406,7 @@ function showHardwareMenu () {
|
|||
"solaar" "Solaar for Logitech Unifying devices" \
|
||||
"webcam" "Install webcam neede apps" \
|
||||
"microcode" "Update Intel/AMD CPU microcode" \
|
||||
"oibaf" "latest version of free graphic drivers, mesa, ..." \
|
||||
"nvidia370" "Install Nvidia 370 graphic drivers" \
|
||||
"nvidia375" "Install Nvidia 375 graphic drivers" \
|
||||
"nvidia378" "Install Nvidia 378 graphic drivers" \
|
||||
|
@ -432,6 +433,9 @@ function showHardwareMenu () {
|
|||
"microcode")
|
||||
updateMicrocode
|
||||
;;
|
||||
"oibaf")
|
||||
installOibafMenu
|
||||
;;
|
||||
"nvidia370")
|
||||
installNvidia370Menu
|
||||
;;
|
||||
|
|
|
@ -646,6 +646,15 @@ function addRepo_DhorMyWay () {
|
|||
addPPA ppa:dhor/myway
|
||||
}
|
||||
|
||||
#
|
||||
# Oibaf
|
||||
# - newest versions of free/open GPU drivers
|
||||
# - newest versions of Mesa, ....
|
||||
#
|
||||
function addRepo_Oibaf () {
|
||||
addPPA ppa:oibaf/graphics-drivers
|
||||
}
|
||||
|
||||
#
|
||||
# Nvidia drivers
|
||||
#
|
||||
|
|
|
@ -50,7 +50,7 @@ echo "--[ Yggdrasil log ]--[ "$cDate" ]--[ "$cTime" ]-----------------------" >>
|
|||
#
|
||||
# arguments/options management with getopts
|
||||
|
||||
while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k,T" option; do
|
||||
while getopts ":h,v,f,c,u,a,d,q,s,t,n,g,w,p,k,T" option; do
|
||||
case "$option" in
|
||||
a) # install all apps
|
||||
# except
|
||||
|
@ -195,6 +195,12 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k,T" option; do
|
|||
installNvidia396
|
||||
exit
|
||||
;;
|
||||
g) # latest feee graphic drivers, mesa, ...
|
||||
yggInit
|
||||
updateSystem
|
||||
installOibaf
|
||||
exit
|
||||
;;
|
||||
k)
|
||||
yggInit
|
||||
updateSystem
|
||||
|
|
Loading…
Reference in a new issue