pacdiff: Compatibility with plocate
pacdiff -l
uses locate(1)
to search for *.pac{new,orig,save}
files:
locate -0 -e -b \*.pacnew \*.pacorig \*.pacsave '*.pacsave.[0-9]*'
This works with locate
command of the mlocate
package, but the locate
command shipped with the newer and faster plocate
package sadly behaves differently when passed multiple patterns: mlocate
does an OR
of all the patterns, while plocate
does an AND
, and thus doesn't find anything.
One solution would be to simply invoke locate
once for each pattern.
Affects: pacman-contrib 1.10.4-1
Edited by Tilman Blumenbach