Integrate Emacs package updates into the system upgrade script

This commit is contained in:
Ohad Livne 2026-01-03 23:08:12 +02:00
parent ce00fe50dc
commit a37fa4f0d7
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -9,6 +9,11 @@ apt_update() {
run0 apt autoremove
}
emacs_update() {
echo Queuing updates for Emacs packages...
emacsclient --alternate-editor "" --reuse-frame --eval "(elpaca-pull-all t)" --no-wait > /dev/null
}
cargo_update() {
# shellcheck disable=SC2046
cargo install $(cargo install --list | grep '^[a-z0-9_-]\+ v[0-9.]\+:$' | cut --delimiter=' ' --fields=1)
@ -32,6 +37,7 @@ podman_update() {
}
apt_update
emacs_update
pipx_update
cargo_update
ghup