[pacman-contrib] [PATCH] paccache: Skip .sig files when globbing candidates for removal
Johannes Löthberg
johannes at kyriasis.com
Thu Feb 22 21:05:26 UTC 2018
Quoting Maxim Baz via pacman-contrib (2018-02-22 00:37:20)
> - <(printf '%s\n' "$PWD"/*.pkg.tar?(.+([^.])) | pacsort --files |
> + <(printf '%s\n' "$PWD"/*.pkg.tar?(.+([^.])) | grep -v '\.sig$' | pacsort --files |
Thanks for the patch, but could we use "$PWD"/*.pkg.tar!(*.sig) instead
of using grep for this? It makes the glob a bit more obvious to me as
well.
--
Sincerely,
Johannes Löthberg
PGP Key ID: 0x50FB9B273A9D0BB5
PGP Key FP: 5134 EF9E AF65 F95B 6BB1 608E 50FB 9B27 3A9D 0BB5
https://theos.kyriasis.com/~kyrias/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1727 bytes
Desc: signature
URL: <https://lists.archlinux.org/pipermail/pacman-contrib/attachments/20180222/7b77081f/attachment.asc>
More information about the pacman-contrib
mailing list