Files
dotfiles/update-aur-pkgs.sh

11 lines
280 B
Bash
Executable File

#!/usr/bin/env bash
for pkg in pkgbuilds/* ; do
printf "checking %s\n" "${pkg}"
git submodule update --remote "${pkg}"
if git status --porcelain "${pkg}" | grep -q . ; then
git add "${pkg}"
git commit -m "aur: Update $(basename "${pkg}")"
fi
done