From af6b9b15aa70d96f0a032db6baa368022ad50149 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 6 Sep 2018 18:23:13 -0700 Subject: [PATCH] Gah, fix version testing in previous commit Signed-off-by: Adam Williamson --- tests/_graphical_wait_login.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_graphical_wait_login.pm b/tests/_graphical_wait_login.pm index f50f1030..235ba82e 100644 --- a/tests/_graphical_wait_login.pm +++ b/tests/_graphical_wait_login.pm @@ -5,6 +5,7 @@ use utils; sub run { my $self = shift; + my $version = get_var("VERSION"); # If KICKSTART is set, then the wait_time needs to consider the # install time. if UPGRADE, we have to wait for the entire upgrade # 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 # commented below when that bug is fixed # 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"))) { gnome_initial_setup(); }