summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-01-11 12:53:28 +0000
committerdamien <damien@mandriva.com>2002-01-11 12:53:28 +0000
commit4a2897b142dbac5ed9686c45779523233ffd186d (patch)
tree0c837a79a168afb9b81fce06f3c2c7a7f0b2de95 /perl-install
parent1443e8878b89a0db4a10ec7aff112e23e4f755cc (diff)
downloaddrakx-4a2897b142dbac5ed9686c45779523233ffd186d.tar
drakx-4a2897b142dbac5ed9686c45779523233ffd186d.tar.gz
drakx-4a2897b142dbac5ed9686c45779523233ffd186d.tar.bz2
drakx-4a2897b142dbac5ed9686c45779523233ffd186d.tar.xz
drakx-4a2897b142dbac5ed9686c45779523233ffd186d.zip
modifications for new avertising engine
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 224bdfdcc..ab39349c4 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1025,6 +1025,9 @@ sub copy_advertising {
foreach (@files) {
chomp;
getAndSaveFile("$source_dir/$_", "$dir/$_");
+ s/\.png/\.pl/;
+ getAndSaveFile("$source_dir/$_", "$dir/$_");
+ s/\.pl/\.png/;
}
@advertising_images = map { "$dir/$_" } @files;
}