summaryrefslogtreecommitdiffstats
path: root/contrib/paccache.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/paccache.in')
-rwxr-xr-xcontrib/paccache.in3
1 files changed, 3 insertions, 0 deletions
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: