Skip to content

Commit

Permalink
make_obs_url fix platform for newer Leap releases
Browse files Browse the repository at this point in the history
  • Loading branch information
lkocman committed Jan 24, 2024
1 parent 5a754be commit f387c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/misc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ Url make_obs_url( const std::string & obsuri )
}
else if ( platform == "Leap" && pdata.vendor() == "openSUSE" )
{
// bsc#1187425 Hotfix
platform = "openSUSE_Leap_$releasever";
// openSUSE Leap 15.3+ uses simply "15.X" as a reference to the codestream
platform = "$releasever";
}
else
platform += "_$releasever";
Expand Down

0 comments on commit f387c87

Please sign in to comment.