Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/paccache.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/paccache.in b/contrib/paccache.in
index 8a8cad4b..11b7bbb5 100755
--- a/contrib/paccache.in
+++ b/contrib/paccache.in
@@ -95,10 +95,8 @@ pkgfilter() {
# enforce architecture match if specified
if (!scanarch || scanarch == idx[2]) {
count = split(packages[idx[1], idx[2]], pkgs, SUBSEP)
- if (count > keep) {
- for(i = 1; i <= count - keep; i++) {
- print pkgs[i]
- }
+ for(i = 1; i <= count - keep; i++) {
+ print pkgs[i]
}
}
}