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