index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-11-01 10:26:45 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-01 10:26:45 -0500 |
commit | a4ce3edf95f148bc6eac16b6edd9bc281c7745af (patch) | |
tree | ae7dc55d73ae12a3214c14ccaa4d37084a0e37c2 /contrib | |
parent | d5f0395dc13fb305e75a5e78de57e148d87f12d7 (diff) | |
parent | d98ff04cc933253b7221fc170813f7d2365d3289 (diff) |
-rwxr-xr-x | contrib/paccache.in | 3 |
diff --git a/contrib/paccache.in b/contrib/paccache.in index 4e185c27..eae547dc 100755 --- a/contrib/paccache.in +++ b/contrib/paccache.in @@ -154,6 +154,7 @@ summarize() { if (( verbose >= 3 )); then [[ $pkg =~ $pkg_re ]] && name=${BASH_REMATCH[1]} arch=${BASH_REMATCH[2]} if [[ -z $seen || $seenarch != "$arch" || $seen != "$name" ]]; then + seen=$name seenarch=$arch printf '%s (%s):\n' "$name" "$arch" fi printf ' %s\n' "$pkg" @@ -298,3 +299,5 @@ elif (( move )); then fi summarize "$pkgcount" "${candidates[@]}" + +# vim: set ts=2 sw=2 noet: |