summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
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 /perl-install/install_steps_gtk.pm
parentd641a63978d16964ec3a56434b65355cb27e5057 (diff)
downloaddrakx-backup-do-not-use-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar
drakx-backup-do-not-use-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar.gz
drakx-backup-do-not-use-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar.bz2
drakx-backup-do-not-use-a97b7d3795f3bf4d632617d1739588cd20a2adbc.tar.xz
drakx-backup-do-not-use-a97b7d3795f3bf4d632617d1739588cd20a2adbc.zip
(copy_advertising): don't use advertising if width < 800
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-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";