Update setupScript.sh

This commit is contained in:
2024-05-07 10:01:26 +00:00
parent 1bf8a06e32
commit e1f458b910

View File

@@ -66,16 +66,8 @@ install_apps() {
} }
system_update() { system_update() {
read -p "Do you want to update the system (including Flatpak and RPM-OSTree)? (y/n): " choice sudo flatpak update -y
case "$choice" in sudo rpm-ostree upgrade -y
[Yy]|[Yy][Ee][Ss])
# Update the system
sudo flatpak update -y
sudo rpm-ostree upgrade
;;
*)
echo "System update skipped." ;;
esac
} }
# Check and create users # Check and create users