aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-02-14 22:49:17 +0000
committerPascal Terjan <pterjan@mageia.org>2011-02-14 22:49:17 +0000
commitbd429c24a4e5d9a5011813c7d3015f8cdcc392d6 (patch)
tree448698a50cf570bd199df9aca7e78a4917307d95 /lib
parent71ae16047f87cfa6b065f5e1a7c72b3f8bfd7e23 (diff)
downloadmga-youri-submit-bd429c24a4e5d9a5011813c7d3015f8cdcc392d6.tar
mga-youri-submit-bd429c24a4e5d9a5011813c7d3015f8cdcc392d6.tar.gz
mga-youri-submit-bd429c24a4e5d9a5011813c7d3015f8cdcc392d6.tar.bz2
mga-youri-submit-bd429c24a4e5d9a5011813c7d3015f8cdcc392d6.tar.xz
mga-youri-submit-bd429c24a4e5d9a5011813c7d3015f8cdcc392d6.zip
Delete old rpms
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Submit/Post/Mirror.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Post/Mirror.pm b/lib/Youri/Submit/Post/Mirror.pm
index 387fe90..961cc1e 100644
--- a/lib/Youri/Submit/Post/Mirror.pm
+++ b/lib/Youri/Submit/Post/Mirror.pm
@@ -36,7 +36,7 @@ sub run {
croak "Missing destination" unless $self->{'_destination'};
- if (system("rsync -alH $root/$target/ $self->{_destination}/$target/")) {
+ if (system("rsync -alH --delete $root/$target/ $self->{_destination}/$target/")) {
$self->{_error} = "Rsync command failed ($!)";
}