Integrate Emacs package updates into the system upgrade script
This commit is contained in:
parent
ce00fe50dc
commit
a37fa4f0d7
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue