diff options
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index a699a5ebd..af3a40040 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -426,7 +426,7 @@ sub main { $o->{method} ||= "cdrom"; $o->{mkbootdisk} = 0; } - unless ($::testing || $::live) { + if (!$::testing && !$::live) { symlink "rhimage", "/tmp/image"; #- for compatibility with old stage1 unlink $_ foreach "/modules/modules.mar", "/sbin/stage1"; } @@ -516,7 +516,7 @@ sub main { } modules::probe_category('multimedia/sound'); #- needed very early for install_steps_gtk - eval { $o->{mouse} = mouse::detect() } unless $o->{nomouseprobe} || $o->{mouse}; + eval { $o->{mouse} = mouse::detect() } if !$o->{nomouseprobe} && !$o->{mouse}; $o->{lang} = lang::set($o->{lang}) if $o->{lang} ne 'en_US'; #- mainly for defcfg |