From bd429c24a4e5d9a5011813c7d3015f8cdcc392d6 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 14 Feb 2011 22:49:17 +0000 Subject: Delete old rpms --- lib/Youri/Submit/Post/Mirror.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Youri') 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 ($!)"; } -- cgit v1.2.1