summaryrefslogtreecommitdiff
path: root/contrib/paccache.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/paccache.in')
-rwxr-xr-xcontrib/paccache.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/paccache.in b/contrib/paccache.in
index 4e185c27..a90b3d09 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"