summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-01-25 12:54:21 +0000
committerdamien <damien@mandriva.com>2002-01-25 12:54:21 +0000
commitc861e15f24d234d8abcf8cafb8777cf317a54093 (patch)
tree558f2d43f6d101eb89523f0a761a19bead669d19 /perl-install/install_any.pm
parenta67bf0fd67dd79632957a80e3d385c2ea20c9772 (diff)
downloaddrakx-backup-do-not-use-c861e15f24d234d8abcf8cafb8777cf317a54093.tar
drakx-backup-do-not-use-c861e15f24d234d8abcf8cafb8777cf317a54093.tar.gz
drakx-backup-do-not-use-c861e15f24d234d8abcf8cafb8777cf317a54093.tar.bz2
drakx-backup-do-not-use-c861e15f24d234d8abcf8cafb8777cf317a54093.tar.xz
drakx-backup-do-not-use-c861e15f24d234d8abcf8cafb8777cf317a54093.zip
advertising engine updated
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 9f10eac6a..b207962c7 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1033,11 +1033,14 @@ sub copy_advertising {
getAndSaveFile("$source_dir/$_", "$dir/$_");
s/\.png/\.pl/;
getAndSaveFile("$source_dir/$_", "$dir/$_");
- s/\.pl/\.png/;
+ s/\.pl/_icon\.png/;
+ getAndSaveFile("$source_dir/$_", "$dir/$_");
+ s/_icon\.png/\.png/;
}
@advertising_images = map { "$dir/$_" } @files;
}
}
+
sub remove_advertising {
my ($o) = @_;
unlink @advertising_images;