Skip to content

Commit

Permalink
Merge pull request #9539 from ggardet/opensuse_welcome_screen_15.2
Browse files Browse the repository at this point in the history
opensuse_welcome: is applicable for Leap 15.2+ on xfce (poo#62597)
  • Loading branch information
nilxam committed Feb 10, 2020
2 parents f386c10 + 777c365 commit 2071ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/main_common.pm
Expand Up @@ -211,11 +211,11 @@ sub any_desktop_is_applicable {
}

sub opensuse_welcome_applicable {
# openSUSE-welcome is expected to show up on openSUSE Tumbleweed only (Leap possibly in the future)
# openSUSE-welcome is expected to show up on openSUSE Tumbleweed and Leap 15.2+ XFCE only
# since not all DEs honor xdg/autostart, we are filtering based on desktop environments
# except for ppc64/ppc64le because not built libqt5-qtwebengine sr#323144
my $desktop = shift // get_var('DESKTOP', '');
return $desktop =~ /gnome|kde|lxde|lxqt|mate|xfce/ && is_tumbleweed && (get_var('ARCH') !~ /ppc64/);
return (($desktop =~ /gnome|kde|lxde|lxqt|mate|xfce/ && is_tumbleweed) || ($desktop =~ /xfce/ && is_leap(">=15.2"))) && (get_var('ARCH') !~ /ppc64/);
}

sub logcurrentenv {
Expand Down

0 comments on commit 2071ab8

Please sign in to comment.