index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-13 18:22:46 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-18 15:34:54 -0500 |
commit | 7ad78c2c88ea3a7a1a33c4d09c2e6e4c772da25e (patch) | |
tree | ca814c9716e47a9094af707fe71936f100785040 /contrib/paccache.in | |
parent | a7d779803239a1dca43a6879f3938c5e63811992 (diff) |
-rwxr-xr-x | contrib/paccache.in | 6 |
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] } } } |