diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-01-25 19:10:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-01-25 19:10:16 +0000 |
commit | 9a7f812ae9c714b5253bbec3244ca19afff6e5b7 (patch) | |
tree | 1b0ea11fd5f6abaf00a8472ec3f658c79207a9ed | |
parent | 9cd277071564aa3e4a3f63eb2d61e0e52b096914 (diff) | |
download | drakx-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)
-rw-r--r-- | perl-install/install_any.pm | 3 |
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 = (); } |