From 028eea7ec371ae27c244acc070a5e568ae5e302c Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sat, 14 Jan 2017 00:03:11 +0100 Subject: SBO::Lib::Repo: don't exclude .tar.gz files when rsyncing. This fixes #53. --- SBO-Lib/lib/SBO/Lib/Repo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SBO-Lib/lib/SBO/Lib') diff --git a/SBO-Lib/lib/SBO/Lib/Repo.pm b/SBO-Lib/lib/SBO/Lib/Repo.pm index 1330073..46648d3 100644 --- a/SBO-Lib/lib/SBO/Lib/Repo.pm +++ b/SBO-Lib/lib/SBO/Lib/Repo.pm @@ -324,7 +324,7 @@ sub rsync_sbo_tree { my @info; # only slackware versions above 14.1 have an rsync that supports --info=progress2 if (versioncmp(get_slack_version(), '14.1') == 1) { @info = ('--info=progress2'); } - my @args = ('rsync', @info, '-a', '--exclude=*.tar.gz', '--exclude=*.tar.gz.asc', '--delete', $url); + my @args = ('rsync', @info, '-a', '--delete', $url); return system(@args, $repo_path) == 0; } -- cgit v1.2.3