summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
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 = ();
}