/[soft]/build_system/mga-youri-submit/trunk/lib/Youri/Submit/Post/Mirror.pm
ViewVC logotype

Diff of /build_system/mga-youri-submit/trunk/lib/Youri/Submit/Post/Mirror.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2906 by boklm, Wed Jun 22 22:31:19 2011 UTC revision 2907 by pterjan, Tue Feb 7 21:00:55 2012 UTC
# Line 36  sub run { Line 36  sub run {
36      croak "Missing destination" unless $self->{'_destination'};      croak "Missing destination" unless $self->{'_destination'};
37    
38    
39      if (system("/usr/bin/rsync -alH --delete $root/$target/ $self->{_destination}/$target/")) {      if (system("/usr/bin/rsync -alH --delete --delete-after $root/$target/ $self->{_destination}/$target/")) {
40          $self->{_error} = "Rsync command failed ($!)";          $self->{_error} = "Rsync command failed ($!)";
41      }      }
42    

Legend:
Removed from v.2906  
changed lines
  Added in v.2907

  ViewVC Help
Powered by ViewVC 1.1.28