summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_auto_install.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-05 13:13:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-05 13:13:01 +0000
commitb66f3b4ed8a1b3f47e44e16d22f7a42c35508347 (patch)
treeed020e80e73f403acb8ee7b27e809821d312da00 /perl-install/install_steps_auto_install.pm
parent814ebdbbb3d4c7b02ab1746c57df605ff443ea27 (diff)
downloaddrakx-backup-do-not-use-b66f3b4ed8a1b3f47e44e16d22f7a42c35508347.tar
drakx-backup-do-not-use-b66f3b4ed8a1b3f47e44e16d22f7a42c35508347.tar.gz
drakx-backup-do-not-use-b66f3b4ed8a1b3f47e44e16d22f7a42c35508347.tar.bz2
drakx-backup-do-not-use-b66f3b4ed8a1b3f47e44e16d22f7a42c35508347.tar.xz
drakx-backup-do-not-use-b66f3b4ed8a1b3f47e44e16d22f7a42c35508347.zip
switch to gtk install when interactiveSteps is defined
Diffstat (limited to 'perl-install/install_steps_auto_install.pm')
-rw-r--r--perl-install/install_steps_auto_install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_auto_install.pm b/perl-install/install_steps_auto_install.pm
index 93b330fac..4e48dc8a5 100644
--- a/perl-install/install_steps_auto_install.pm
+++ b/perl-install/install_steps_auto_install.pm
@@ -21,7 +21,7 @@ sub new {
my ($type, $o) = @_;
# Handle legacy options
- $o->{interactive} ||= 'gtk' if $graphical;
+ $o->{interactive} ||= 'gtk' if $graphical || !is_empty_array_ref($o->{interactiveSteps});
$o->{interactiveSteps} ||= [ @graphical_steps ];
push @{$o->{interactiveSteps}}, qw(enteringStep formatMountPartitions beforeInstallPackages installPackages);