diff options
author | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-23 17:46:29 -0500 |
---|---|---|
committer | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-23 17:46:29 -0500 |
commit | 06161063fd3a9156e0a6cd8cf7ad75797cee7d22 (patch) | |
tree | 8d0fcfd2e08e69ec9d948d8ee298a48bb2d6adc0 /sbocheck | |
parent | b4ded8b2ea1826c1e3d22c20c5a41ec6a50de1ad (diff) | |
download | sbotools-06161063fd3a9156e0a6cd8cf7ad75797cee7d22.tar.xz |
cleanup
Diffstat (limited to 'sbocheck')
-rwxr-xr-x | sbocheck | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -28,10 +28,10 @@ print "Checking for updated SlackBuilds...\n"; my @updates = get_available_updates (); my @listing; -for (keys @updates) { - my $string = "$updates[$_]{name}-$updates[$_]{installed}"; - $string .= " < needs updating (SBo has $updates[$_]{update})\n"; - push (@listing,$string); +for my $key (keys @updates) { + my $string = "$updates[$key]{name}-$updates[$key]{installed}"; + $string .= " < needs updating (SBo has $updates[$key]{update})\n"; + push (@listing, $string); } if (exists $listing[0]) { |