From 7caab16af421c04faa828f8c779f3a6dc96d4da5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 2 Aug 2001 15:11:15 +0000 Subject: instead of testing if ref($in) or ref($o) contains /gtk/, test if interactive_gtk is in ISA of the object --- perl-install/install_steps_interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 60d5aad80..7a3fc31df 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -365,7 +365,7 @@ Continue at your own risk!")); \&partition_table_raw::description, \@l) or die "setstep exitInstall\n"; } install_any::use_root_part($o->{fstab}, $p, $o->{prefix}); - } elsif ($::expert && ref($o) =~ /gtk/) { + } elsif ($::expert && $o->isa('interactive_gtk')) { install_interactive::partition_with_diskdrake($o, $o->{hds}); } else { install_interactive::partitionWizard($o); -- cgit v1.2.1