1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Gah, fix version testing in previous commit

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-09-06 18:23:13 -07:00
parent 5a48086e61
commit af6b9b15aa

View File

@ -5,6 +5,7 @@ use utils;
sub run { sub run {
my $self = shift; my $self = shift;
my $version = get_var("VERSION");
# If KICKSTART is set, then the wait_time needs to consider the # If KICKSTART is set, then the wait_time needs to consider the
# install time. if UPGRADE, we have to wait for the entire upgrade # install time. if UPGRADE, we have to wait for the entire upgrade
# unless ENCRYPT_PASSWORD is set (in which case the postinstall # unless ENCRYPT_PASSWORD is set (in which case the postinstall
@ -69,7 +70,6 @@ sub run {
# even though it shouldn't. Go back to the simpler line # even though it shouldn't. Go back to the simpler line
# commented below when that bug is fixed # commented below when that bug is fixed
# unless (get_var("_setup_done")) { # unless (get_var("_setup_done")) {
my $version = get_var("VERSION");
if (!get_var("_setup_done") || (($version > 28 || $version eq "Rawhide") && get_var("INSTALL_NO_USER"))) { if (!get_var("_setup_done") || (($version > 28 || $version eq "Rawhide") && get_var("INSTALL_NO_USER"))) {
gnome_initial_setup(); gnome_initial_setup();
} }