Add an update script
This commit is contained in:
parent
67b0c4a5ad
commit
3f1ddddb23
1 changed files with 9 additions and 0 deletions
9
scripts/update.fish
Executable file
9
scripts/update.fish
Executable 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
|
Loading…
Reference in a new issue