Add check for pacdiff and install pacman-contrib if not found

This commit is contained in:
2024-03-16 17:06:03 -05:00
parent 343981c35e
commit 7a5bb393db

View File

@@ -22,6 +22,11 @@ if [ -z "$colordiff_installed" ]; then
sudo pacman -S colordiff
fi
if [ -z $(which pacdiff) ]; then
echo "Installing pacman-contrib for the pacdiff step later, this will only run the first time you run this script"
sudo pacman -S pacman-contrib
fi
#Create list of -git packages from the aur
gitlist=$(pacman -Qqm | grep git | grep -v debug)