Correct the text install workaround for aarch64

I sorta screwed up the brackets there a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-06-24 17:09:19 -07:00
parent ab32b75aba
commit f30b7517ce
1 changed files with 4 additions and 3 deletions

View File

@ -18,9 +18,10 @@ sub run {
if ($repourl) {
$params .= "inst.repo=" . get_full_repo($repourl) . " ";
}
$params .= "inst.text " if get_var("ANACONDA_TEXT");
# makes text install on aarch64 work - RHBZ#1594402
$params .= "console=tty0" if (get_var("ARCH" eq "aarch64"));
if (get_var("ANACONDA_TEXT")) {
$params .= "inst.text ";
$params .= "console=tty0 " if (get_var("ARCH") eq "aarch64");
}
# inst.debug enables memory use tracking
$params .= "debug" if get_var("MEMCHECK");
# ternary: set $params to "" if it contains only spaces