sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 60e41c93314fc41c57110f8bf68b6362d8aaf093
parent bcde90273cd5a70d93c41da85f6e38cfab014272
Author: Jacob Pipkin <j@dawnrazor.net>
Date:   Fri, 29 Jun 2012 09:26:16 -0500

made (fetch|update)_tree return 1 on completion instead of nothing

Diffstat:
MSBO-Lib/lib/SBO/Lib.pm | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm @@ -144,13 +144,13 @@ sub rsync_sbo_tree { sub fetch_tree { check_home (); print "Pulling SlackBuilds tree...\n"; - rsync_sbo_tree (), return; + rsync_sbo_tree (), return 1; } sub update_tree { fetch_tree (), return unless check_slackbuilds_txt (); print "Updating SlackBuilds tree...\n"; - rsync_sbo_tree (), return; + rsync_sbo_tree (), return 1; } # if the SLACKBUILDS.TXT is not in $config{SBO_HOME}, we assume the tree has