diff options
author | Jacob Pipkin <j@dawnrazor.net> | 2012-06-29 09:26:16 -0500 |
---|---|---|
committer | Jacob Pipkin <j@dawnrazor.net> | 2012-06-29 09:26:16 -0500 |
commit | 60e41c93314fc41c57110f8bf68b6362d8aaf093 (patch) | |
tree | d2759530bf4cc11531ea2712ffd760b19a328b47 /SBO-Lib/lib | |
parent | bcde90273cd5a70d93c41da85f6e38cfab014272 (diff) | |
download | sbotools2-60e41c93314fc41c57110f8bf68b6362d8aaf093.tar.xz |
made (fetch|update)_tree return 1 on completion instead of nothing
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index b02bee1..fca3662 100644 --- 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 |