Skip to content

Commit 5d7eeb0

Browse files
committed
YumSource: fix drpm lookup for Suse repos
1 parent 53d6d67 commit 5d7eeb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/objects/yum.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ func (s *YumSource) ListAllFiles() ([]FileSpec, *ListEntriesError) {
126126
}
127127

128128
//parse prestodelta.xml.gz (if present) to find paths of DRPMs
129+
//(NOTE: this is called "deltainfo.xml.gz" on Suse)
129130
href, exists = hrefsByType["prestodelta"]
131+
if !exists {
132+
href, exists = hrefsByType["deltainfo"]
133+
}
130134
if exists {
131135
var prestodelta struct {
132136
Packages []struct {

0 commit comments

Comments
 (0)