diff options
author | Michael Scherer <misc@mageia.org> | 2011-07-25 17:59:52 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-07-25 17:59:52 +0000 |
commit | d09c70a202fc93ccdefd3409a211f9a628a6ba79 (patch) | |
tree | 8061107562458831fc06016623df313ca0261e11 /modules | |
parent | 67fe803782359e0df9b6b5fea3c39a3fb07faffc (diff) | |
download | puppet-d09c70a202fc93ccdefd3409a211f9a628a6ba79.tar puppet-d09c70a202fc93ccdefd3409a211f9a628a6ba79.tar.gz puppet-d09c70a202fc93ccdefd3409a211f9a628a6ba79.tar.bz2 puppet-d09c70a202fc93ccdefd3409a211f9a628a6ba79.tar.xz puppet-d09c70a202fc93ccdefd3409a211f9a628a6ba79.zip |
use copy instead of move ( or the cleaning will not be very effective )
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/mirror_cleaner/files/orphans_cleaner.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mirror_cleaner/files/orphans_cleaner.pl b/modules/mirror_cleaner/files/orphans_cleaner.pl index 04a73fe2..ff4f12e5 100755 --- a/modules/mirror_cleaner/files/orphans_cleaner.pl +++ b/modules/mirror_cleaner/files/orphans_cleaner.pl @@ -64,7 +64,7 @@ foreach my $a ( @arches ) { ( $dest_rpm = $rpm ) =~ s/$path/$dest_path/; my $dir = dirname $dest_rpm; make_path $dir if not -d $dir; - copy($rpm, $dest_rpm) + move($rpm, $dest_rpm) } } } |