mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 21:21:30 +00:00
Gah, fix version testing in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
5a48086e61
commit
af6b9b15aa
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user