mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
Handle Software screen making a comeback in gnome-initial-setup
It's back from the dead! In F35+, anyway. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0ab4c40f9a
commit
5661d3c1a7
@ -694,7 +694,7 @@ sub gnome_initial_setup {
|
||||
timeout => 120,
|
||||
@_
|
||||
);
|
||||
my $version = lc(get_var("VERSION"));
|
||||
my $relnum = get_release_number;
|
||||
# the pages we *may* need to click 'next' on. *NOTE*: 'language'
|
||||
# is the 'welcome' page, and is in fact never truly skipped; if
|
||||
# it's configured to be skipped, it just shows without the language
|
||||
@ -713,6 +713,9 @@ sub gnome_initial_setup {
|
||||
# except 'language' is never *really* skipped (see above)
|
||||
@nexts = grep {$_ ne 'keyboard'} @nexts;
|
||||
@nexts = grep {$_ ne 'timezone'} @nexts;
|
||||
# 'additional software sources' screen did not display on F28-F34:
|
||||
# https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/issues/59
|
||||
@nexts = grep {$_ ne 'software'} @nexts if ($relnum < 35);
|
||||
}
|
||||
else {
|
||||
# 'timezone' and 'software' are suppressed for the 'existing user'
|
||||
@ -720,9 +723,6 @@ sub gnome_initial_setup {
|
||||
@nexts = grep {$_ ne 'software'} @nexts;
|
||||
@nexts = grep {$_ ne 'timezone'} @nexts;
|
||||
}
|
||||
# 'additional software sources' screen does not display on F28+:
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=794825
|
||||
@nexts = grep {$_ ne 'software'} @nexts;
|
||||
|
||||
# note: in g-i-s 3.37.91 and later, the first screen in systemwide
|
||||
# mode has a "Start Setup" button, not a "Next" button
|
||||
|
Loading…
Reference in New Issue
Block a user