diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2017-01-14 00:03:11 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2017-01-14 00:03:11 +0100 |
commit | 028eea7ec371ae27c244acc070a5e568ae5e302c (patch) | |
tree | 41fc371a392602d1d0948aa5abd502331a893008 /SBO-Lib/lib | |
parent | f67218558898dbab06a94d3b14f5554aa54f62c4 (diff) | |
download | sbotools-028eea7ec371ae27c244acc070a5e568ae5e302c.tar.xz |
SBO::Lib::Repo: don't exclude .tar.gz files when rsyncing. This fixes #53.
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib/Repo.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |