summaryrefslogtreecommitdiffstats
path: root/contrib/paccache.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/paccache.in')
-rwxr-xr-xcontrib/paccache.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/paccache.in b/contrib/paccache.in
index 909cbbee..b191ed9a 100755
--- a/contrib/paccache.in
+++ b/contrib/paccache.in
@@ -164,7 +164,7 @@ summarize() {
else
printf "%s$delim" "$pkg"
fi
- done < <(printf '%s\n' "$@" | sort -V)
+ done < <(printf '%s\n' "$@" | pacsort)
fi
printf -v output 'finished dry run: %d candidates' "$filecount"
fi
@@ -265,7 +265,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[@]}")