index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2013-01-19 11:06:46 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-28 23:38:46 +1000 |
commit | 250aaefb27115e712b8de42cef601238ca22c260 (patch) | |
tree | bf1cce67c0f9089ba0d8e623da3ba20f89142dd6 /contrib | |
parent | a64a713fc2a56cf6182e4e7c7c50533ad0afe32a (diff) |
-rw-r--r-- | contrib/paccache.sh.in | 4 |
diff --git a/contrib/paccache.sh.in b/contrib/paccache.sh.in index e8136559..29e2603a 100644 --- a/contrib/paccache.sh.in +++ b/contrib/paccache.sh.in @@ -149,7 +149,7 @@ summarize() { else printf "%s$delim" "$pkg" fi - done < <(printf '%s\n' "$@" | pacsort) + done < <(printf '%s\n' "$@" | pacsort --files) fi printf -v output 'finished dry run: %d candidates' "$filecount" fi @@ -283,7 +283,7 @@ cd "$cachedir" >/dev/null || 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?(.+([^.])) | pacsort | + <(printf '%s\n' *.pkg.tar?(.+([^.])) | pacsort --files | pkgfilter "$keep" "$scanarch" \ "${#whitelist[*]}" "${whitelist[@]}" \ "${#blacklist[*]}" "${blacklist[@]}") |