Last active
September 25, 2025 15:13
-
-
Save sigzegv/a2c226b302f8d65cdde4a83e00fa7785 to your computer and use it in GitHub Desktop.
Debian multi upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # copy this file somewhere in your $PATH | |
| echo "*** APT update..." | |
| sudo /usr/bin/apt update | |
| sudo /usr/bin/apt full-upgrade -V | |
| [ -x /usr/bin/flatpak ] && echo "*** FlatPak update..." && command flatpak update -y | |
| [ -x $HOME/dev/.cargo/bin/cargo-upgrade ] && echo "*** Cargo update..." && cargo-upgrade -u | |
| echo "" | |
| echo "Update complete." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Desktop Entry] | |
| Name=Update System | |
| Type=Application | |
| Exec=update-system | |
| Icon=debian-swirl | |
| Terminal=true | |
| Categories=TerminalEmulator; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment