mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +01:00
Support prefer-pkg for live-build
This commit is contained in:
parent
ba7e20bcd1
commit
beb46cc012
@ -326,7 +326,7 @@ def get_prefer_pkgs(dirs, wanted_arch, type, cpio):
|
||||
repositories = []
|
||||
|
||||
suffix = '*.rpm'
|
||||
if type == 'dsc':
|
||||
if type == 'dsc' or type == 'livebuild':
|
||||
suffix = '*.deb'
|
||||
elif type == 'arch':
|
||||
suffix = '*.pkg.tar.xz'
|
||||
|
Loading…
Reference in New Issue
Block a user