summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-25 19:10:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-25 19:10:16 +0000
commit9a7f812ae9c714b5253bbec3244ca19afff6e5b7 (patch)
tree1b0ea11fd5f6abaf00a8472ec3f658c79207a9ed /perl-install/install_any.pm
parent9cd277071564aa3e4a3f63eb2d61e0e52b096914 (diff)
downloaddrakx-9a7f812ae9c714b5253bbec3244ca19afff6e5b7.tar
drakx-9a7f812ae9c714b5253bbec3244ca19afff6e5b7.tar.gz
drakx-9a7f812ae9c714b5253bbec3244ca19afff6e5b7.tar.bz2
drakx-9a7f812ae9c714b5253bbec3244ca19afff6e5b7.tar.xz
drakx-9a7f812ae9c714b5253bbec3244ca19afff6e5b7.zip
remove_advertising: use rm_rf since we don't have the real list of files (the .pl's are not in @advertising_images)
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index b207962c7..eaf632f9a 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1043,8 +1043,7 @@ sub copy_advertising {
sub remove_advertising {
my ($o) = @_;
- unlink @advertising_images;
- rmdir "$o->{prefix}/tmp/drakx-images";
+ rm_rf("$o->{prefix}/tmp/drakx-images");
@advertising_images = ();
}