Fix -with-sources not downloading differently named sources

Such as e.g. downloading 'glibc' when the sources for 'libc6'
are requested.
This commit is contained in:
Gordian Schoenherr
2024-11-26 16:19:46 +09:00
parent 3b785e4165
commit 0c76677b16
3 changed files with 46 additions and 1 deletions
+1
View File
@@ -600,6 +600,7 @@ func (repo *RemoteRepo) ApplyFilter(dependencyOptions int, filterQuery PackageQu
Queries: []PackageQuery{filterQuery},
WithDependencies: repo.FilterWithDeps,
Source: emptyList,
WithSources: repo.DownloadSources,
DependencyOptions: dependencyOptions,
Architectures: repo.Architectures,
Progress: progress,