From 3f1ddddb234b0f452a214d85dbe0cf735b63c9c7 Mon Sep 17 00:00:00 2001 From: mo8it Date: Sat, 4 May 2024 02:00:33 +0200 Subject: [PATCH] Add an update script --- scripts/update.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/update.fish diff --git a/scripts/update.fish b/scripts/update.fish new file mode 100755 index 0000000..f7ca888 --- /dev/null +++ b/scripts/update.fish @@ -0,0 +1,9 @@ +rustup update; or return 1 +cargo install-update -a; or return 1 + +sudo dnf upgrade -y; or return 1 +sudo dnf autoremove; or return 1 + +podman auto-update; or return 1 + +sudo dnf needs-restarting -r; or systemctl reboot