summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-28 12:50:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-28 12:50:48 +0000
commita97b7d3795f3bf4d632617d1739588cd20a2adbc (patch)
tree0ac3d015dd3c944b5e81be0ea490c05a0416eb48
parentd641a63978d16964ec3a56434b65355cb27e5057 (diff)
downloaddrakx-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar
drakx-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar.gz
drakx-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar.bz2
drakx-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar.xz
drakx-a97b7d3795f3bf4d632617d1739588cd20a2adbc.zip
(copy_advertising): don't use advertising if width < 800
-rw-r--r--perl-install/install_steps_gtk.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 3683678e7..590c83760 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -477,6 +477,8 @@ my @advertising_images;
sub copy_advertising {
my ($o) = @_;
+ return if $::rootwidth < 800;
+
my $f = install_any::getFile('Mandrake/share/advertising/list');
if (my @files = <$f>) {
my $dir = "$o->{prefix}/tmp/drakx-images";