Update setupScript.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user