aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib.pm
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm4
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