distro_info: fully parse distro info
This commit is contained in:
+1
-1
@@ -504,7 +504,7 @@ pub async fn pull(
|
||||
|
||||
// Depending on target series, we pick target branch; if latest series is specified,
|
||||
// we target the development branch, i.e. the default branch
|
||||
let branch_name = if crate::distro_info::get_ordered_series(package_info.dist.as_str())
|
||||
let branch_name = if crate::distro_info::get_ordered_series_name(package_info.dist.as_str())
|
||||
.await?[0]
|
||||
!= *series
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user