Script qui permet de réinstaller tous les paquets habituel de son environnement.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
856B

  1. #!/bin/bash
  2. subMenu1()
  3. {
  4. echo -e "-------------------------------------------------------------------"
  5. echo -e "${background0}${gras}\t\t${gris01}## MISE A JOUR ##${neutre}"
  6. echo -e "-------------------------------------------------------------------\n"
  7. echo -e "${bleu01}\t1 = Mise a jour sans AUR${neutre}\n"
  8. echo -e "${rouge01}\t2 = Mise à jour avec AUR${neutre}\n"
  9. echo -e "-------------------------------------------------------------------"
  10. echo -e "${bleu01}${background1}${gras}\t0 = Menu Principal${neutre}"
  11. echo -e "-------------------------------------------------------------------\n"
  12. read -p " Entrez votre choix : " subChoise1
  13. return $subChoise1
  14. }
  15. subMenu1Case()
  16. {
  17. case "$subChoise1" in
  18. 0)
  19. menuWhile
  20. ;;
  21. 1)
  22. updateWithoutAur
  23. continuer
  24. ;;
  25. 2)
  26. updateWithAur
  27. continuer
  28. ;;
  29. *)
  30. errorChoise
  31. esac
  32. }