1
0
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:
Daniel Gollub 2015-08-12 16:27:37 +02:00
parent ba7e20bcd1
commit beb46cc012

View File

@ -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'