From e1f458b9105f626264279b4b9b79c741efe77da0 Mon Sep 17 00:00:00 2001 From: Lightemerald Date: Tue, 7 May 2024 10:01:26 +0000 Subject: [PATCH] Update setupScript.sh --- setupScript.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/setupScript.sh b/setupScript.sh index 59bedb5..7efc7e9 100644 --- a/setupScript.sh +++ b/setupScript.sh @@ -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