diff options
author | J Pipkin <j@dawnrazor.net> | 2013-01-16 02:19:13 -0600 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2013-01-16 02:19:13 -0600 |
commit | b0b91fb934e18607d9be297f3b3c62afe6483f6b (patch) | |
tree | 84b3aecfba288cd7a90d1f5be3d80b0e7b0710c2 | |
parent | fe877256d11b044b70bb00fa6a2a24bd3e9f2f8c (diff) | |
download | sbotools2-b0b91fb934e18607d9be297f3b3c62afe6483f6b.tar.xz |
return from get_update_list() if there are no updates
-rwxr-xr-x | sbocheck | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ update_tree; sub get_update_list() { print "Checking for updated SlackBuilds...\n"; my $updates = get_available_updates; + return unless exists $$updates[0]; # consistent formatting - determine longest version string, which will tell # us the max minimum length of the left side of the output for stuff that # fits in 80 chars; stuff that doesn't will overflow. |