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.
47 lines
1.0 KiB
47 lines
1.0 KiB
#!/usr/bin/env bash
|
|
chmod +x gnomesetup.sh
|
|
chmod +x kdesetup.sh
|
|
chmod +x software.sh
|
|
chmod +x aur.sh
|
|
|
|
install_gnome () {
|
|
echo "Setting up GNOME + GDM..."
|
|
sh gnomesetup.sh
|
|
echo "Gnome installed & GDM enabled on reboot."
|
|
}
|
|
|
|
install_kde () {
|
|
echo "Setting up KDE + SDDM..."
|
|
sh kdesetup.sh
|
|
echo "KDE installed + SDDM enabled on reboot"
|
|
}
|
|
|
|
install_software () {
|
|
echo "Setting up KDE + SDDM..."
|
|
sh software.sh
|
|
echo "Software installed."
|
|
}
|
|
|
|
setup_aur () {
|
|
echo "Setting up Yay..."
|
|
sh aur.sh
|
|
echo "Yay installed."
|
|
}
|
|
|
|
while true; do
|
|
options=("Install GNOME + GDM" "Install KDE + SDDM" "Install Software" "Setup Yay" "Exit")
|
|
|
|
echo "Debian Server Setup: "
|
|
select opt in "${options[@]}"; do
|
|
case $REPLY in
|
|
1) install_gnome; break ;;
|
|
2) install_kde; break ;;
|
|
3) install_software; break ;;
|
|
4) setup_aur; break ;;
|
|
5) break 2 ;;
|
|
*) echo "Invalid" >&2
|
|
esac
|
|
done
|
|
done
|
|
|
|
echo "Exiting! Please reboot to enter desktop environment."
|
|
|