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() {
read -p "Do you want to update the system (including Flatpak and RPM-OSTree)? (y/n): " choice
case "$choice" in
[Yy]|[Yy][Ee][Ss])
# Update the system
sudo flatpak update -y
sudo rpm-ostree upgrade
;;
*)
echo "System update skipped." ;;
esac
sudo flatpak update -y
sudo rpm-ostree upgrade -y
}
# Check and create users