Skip to content

Instantly share code, notes, and snippets.

@sigzegv
Last active September 25, 2025 15:13
Show Gist options
  • Select an option

  • Save sigzegv/a2c226b302f8d65cdde4a83e00fa7785 to your computer and use it in GitHub Desktop.

Select an option

Save sigzegv/a2c226b302f8d65cdde4a83e00fa7785 to your computer and use it in GitHub Desktop.
Debian multi upgrade
#!/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."
[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