From af6b9b15aa70d96f0a032db6baa368022ad50149 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sep 07 2018 01:23:13 +0000 Subject: Gah, fix version testing in previous commit Signed-off-by: Adam Williamson --- diff --git a/tests/_graphical_wait_login.pm b/tests/_graphical_wait_login.pm index f50f103..235ba82 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(); }