Dependencies should be matched for each package one by one. #70

This commit is contained in:
Andrey Smirnov
2014-07-10 00:13:19 +04:00
parent 1c30b2b9de
commit 81d506b226
+2 -2
View File
@@ -125,9 +125,9 @@ func aptlySnapshotPull(cmd *commander.Command, args []string) error {
continue
}
// Find missing dependencies for single added package
pL := deb.NewPackageList()
// Find missing dependencies, for each added package
for _, pkg := range searchResults {
pL := deb.NewPackageList()
pL.Add(pkg)
var missing []deb.Dependency