Add no choices to setup-assistant
This commit is contained in:
parent
6f28defc54
commit
79c28a1c2f
1 changed files with 8 additions and 3 deletions
|
@ -80,8 +80,8 @@ function upgrade2ultimate
|
|||
garuda-scanner" >> /tmp/setup-assistant/pkgs.txt
|
||||
fi
|
||||
|
||||
clear
|
||||
: office-selection
|
||||
clear
|
||||
echo "Now you are free to choose your favorite office suite."
|
||||
echo "There are quite a lot of them to choose from. A guideline for new users:"
|
||||
echo "LibreOffice is the most used and complete office application in the Linux world."
|
||||
|
@ -94,7 +94,8 @@ function upgrade2ultimate
|
|||
echo "5) Yozo Office"
|
||||
echo "6) Calligra Office"
|
||||
echo "7) Abiword"
|
||||
echo "8) Who needs office anyway?"
|
||||
echo ""
|
||||
echo "Who needs office anyway? (n)"
|
||||
read office
|
||||
if [ $office = "1" ]; then
|
||||
echo "libreoffice-fresh
|
||||
|
@ -114,7 +115,7 @@ function upgrade2ultimate
|
|||
echo "calligra" >> /tmp/setup-assistant/pkgs.txt
|
||||
elif [ $office = "7" ]; then
|
||||
echo "abiword" >> /tmp/setup-assistant/pkgs.txt
|
||||
elif [ $office = "7" ]; then
|
||||
elif [ $office = "n" ]; then
|
||||
echo "nooffice" >/dev/null 2>&1 &
|
||||
else echo "Thats not a valid choice! ❌"
|
||||
goto "office-selection"
|
||||
|
@ -145,6 +146,8 @@ function upgrade2ultimate
|
|||
echo ""
|
||||
echo "1) Virtualbox all the way!"
|
||||
echo "2) Id rather choose Virt-manager."
|
||||
echo ""
|
||||
echo "I dont need virtualisation software! (n)"
|
||||
read virt
|
||||
if [ $virt = "1" ]; then
|
||||
echo "garuda-virtualbox" >> /tmp/setup-assistant/pkgs.txt
|
||||
|
@ -154,6 +157,8 @@ function upgrade2ultimate
|
|||
echo "sudo systemctl enable --now libvirtd" >> /tmp/setup-assistant/setup.sh
|
||||
echo "sudo usermod -aG libvirt $USER" >> /tmp/setup-assistant/setup.sh
|
||||
echo "sudo usermod -aG kvm $USER" >> /tmp/setup-assistant/setup.sh
|
||||
elif [ $virt = "n" ]; then
|
||||
echo "novirt" >/dev/null 2>&1 &
|
||||
else echo "Thats not a valid choice! ❌"
|
||||
goto "virt-selection"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue