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 committed 2024-12-09 13:17:41 +09:00
1 parent 3b785e4165
commit 0c76677b16
3 files changed
+46 -1

No files matched your search

+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,