From 8b6272057bbfdfe26d73195b5df7ea9fc143b466 Mon Sep 17 00:00:00 2001 From: Justin Gassner Date: Wed, 9 Aug 2023 22:44:54 +0200 Subject: Upgrade script: manage .pac* files with pacdiff Requires pacman-contrib --- .local/bin/upgrade | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf