From a97b7d3795f3bf4d632617d1739588cd20a2adbc Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 28 Feb 2001 12:50:48 +0000 Subject: (copy_advertising): don't use advertising if width < 800 --- perl-install/install_steps_gtk.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/install_steps_gtk.pm') 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"; -- cgit v1.2.1