Add an update script

This commit is contained in:
Mo 2024-05-04 02:00:33 +02:00
parent 67b0c4a5ad
commit 3f1ddddb23

9
scripts/update.fish Executable file
View file

@ -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