diff options
author | Justin Gassner <justin.gassner@mailbox.org> | 2023-08-09 22:44:54 +0200 |
---|---|---|
committer | Justin Gassner <justin.gassner@mailbox.org> | 2023-08-09 22:44:54 +0200 |
commit | 8b6272057bbfdfe26d73195b5df7ea9fc143b466 (patch) | |
tree | 7bb7d818052503f8969deca3708c3d11226d55f4 /.local/bin | |
parent | 909b644c0c09999b3fe3a61974021dc1aa03c42f (diff) | |
download | dotfiles-8b6272057bbfdfe26d73195b5df7ea9fc143b466.tar.zst |
Upgrade script: manage .pac* files with pacdiff
Requires pacman-contrib
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/upgrade | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.local/bin/upgrade b/.local/bin/upgrade index 909b170..9f658a5 100755 --- a/.local/bin/upgrade +++ b/.local/bin/upgrade @@ -9,7 +9,10 @@ if (( ${#orphans[@]} )); then sudo pacman -Rns "${orphans[@]}" fi +# Manage .pac* files +sudo pacdiff + # Update Neovim plugins -if [[ -d ~/.config/nvim/pack/ ]]; then +if [[ -d ~/.config/nvim/pack/ ]]; then find ~/.config/nvim/pack/ -name .git -type d -print -execdir git pull \; fi |