Skip to content

Commit

Permalink
Merge pull request #20414 from lemon-suse/fix-agama-sle-16-distributi…
Browse files Browse the repository at this point in the history
…on-issue

Fix Agama Sle 16.0 distribution issue
  • Loading branch information
jknphy authored Oct 17, 2024
2 parents 52a94e3 + a75cb4c commit fef4f53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Distribution/Sle/16Latest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Maintainer: QE YaST and Migration (QE Yam) <qe-yam at suse de>

package Distribution::Sle::16Latest;
use parent Distribution::Opensuse::AgamaDevel;
use parent Distribution::Sle::AgamaDevel;
use strict;
use warnings FATAL => 'all';

Expand Down
1 change: 1 addition & 0 deletions lib/DistributionProvider.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ If there is no matched version, then returns Tumbleweed as the default one.
=cut

sub provide {
return Distribution::Sle::16Latest->new() if is_sle('16+');
return Distribution::Sle::AgamaDevel->new() if is_sle() && get_var('VERSION', '') =~ /agama/;
return Distribution::Sle::15_current->new() if (is_sle('>=15-sp3') || is_sle_micro);
return Distribution::Sle::15sp2->new() if is_sle('>15');
Expand Down

0 comments on commit fef4f53

Please sign in to comment.