pacaur
pacaur copied to clipboard
Feature suggestion: make wildcards in IgnorePkg work the same way as they do for pacman.
I use pacaur over pacman ever since and only annoyance so far for me was the fact that wildcards in IgnorePkg do not really work as expected.
E.g. I had virtualbox* ignored for a decent time which worked for the standard repositories but not for the AUR part. Also setting e.g. microchip-mplab* doesn't work at all.
So here is my proposal to fix that, it works for me and might be worth to be adopted after testing/reviewing it:
--- a/pacaur
+++ b/pacaur
@@ -206,12 +206,13 @@
checkaurpkgsAver=($(GetJson "$json" "Version"))
checkaurpkgsQver=($(expac -Q '%v' "${checkaurpkgs[@]}"))
+ ignoredpkgspattern=$(echo ${ignoredpkgs[@]} | sed 's/ /\|/g')
for i in "${!checkaurpkgs[@]}"; do
[[ -n "$(grep -E "\-(cvs|svn|git|hg|bzr|darcs|daily.*|nightly.*)$"
Any thoughts?