summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@mailbox.org>2023-08-09 22:44:54 +0200
committerJustin Gassner <justin.gassner@mailbox.org>2023-08-09 22:44:54 +0200
commit8b6272057bbfdfe26d73195b5df7ea9fc143b466 (patch)
tree7bb7d818052503f8969deca3708c3d11226d55f4
parent909b644c0c09999b3fe3a61974021dc1aa03c42f (diff)
downloaddotfiles-8b6272057bbfdfe26d73195b5df7ea9fc143b466.tar.zst
Upgrade script: manage .pac* files with pacdiff
Requires pacman-contrib
-rwxr-xr-x.local/bin/upgrade5
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