Wouldn’t flatpak update do the trick for everything running in flatpaks? And apt update/upgrade for the rest?
Yeah exactly. An update script just runs all these updates in a single command
this is what mine looks like (apparently lemmy does not like &&'s so take care with the & bits):___ bash debupdate() { echo -e “##======================== Nala upgrades ============================##” sudo deb-get update 1> /dev/null # fetch deb-get repos ahead of time just for timing purposes sudo nala upgrade # nala is better than apt echo -e “##======================== Flatpak upgrades =========================##” flatpak update echo -e “##======================== deb-get upgrades =========================##” sudo deb-get upgrade echo -e “##======================== Rust upgrades ============================##” export CARGO_PROFILE_RELEASE_LTO=true export RUSTFLAGS=“-C target-cpu=native” rustup update && cargo install-update -a # this is a custom cargo package: https://crates.io/crates/cargo-update - take care as this doesn’t inherently recompile with the same flags you originally installed with echo -e “##======================== Homebrew upgrades ========================##” brew update && brew upgrade echo -e “##======================== yt-dlp upgrades ==========================##” # I let yt-dlp manage itself $HOME/Applications/yt-dlp/yt-dlp -U echo -e “##======================== Antidote upgrades ========================##” # antidote is a zsh plugin manager antidote update sudo -u root zsh -ci ‘antidote update’ echo -e “##======================== Upgrades Finished ========================##” }