Signed-off-by: Dave Reisner <dreisner@archlinux.org> --- ...and the whole point of these selfish patches. contrib/paccache.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/paccache.in b/contrib/paccache.in index 0bd0cf7..1dcce1e 100755 --- a/contrib/paccache.in +++ b/contrib/paccache.in @@ -165,7 +165,7 @@ summarize() { else printf "%s$delim" "$pkg" fi - done < <(printf '%s\n' "$@" | sort -V) + done < <(printf '%s\n' "$@" | pacsort) printf '\n' >&2 fi @@ -267,7 +267,7 @@ cd "$cachedir" || die "failed to chdir to \`%s'" "$cachedir" # note that these results are returned in an arbitrary order from awk, but # they'll be resorted (in summarize) iff we have a verbosity level set. IFS=$'\n' read -r -d '' -a candidates < \ - <(printf '%s\n' *.pkg.tar?(.+([^.])) | sort -V | + <(printf '%s\n' *.pkg.tar?(.+([^.])) | pacsort | pkgfilter "$keep" "$scanarch" \ "${#whitelist[*]}" "${whitelist[@]}" \ "${#blacklist[*]}" "${blacklist[@]}") -- 1.7.6