Add unreleased to dist search list in find_pkg_file()

This commit is contained in:
John Paul Adrian Glaubitz 2017-10-08 22:02:54 +02:00
parent 995a8198b9
commit 664ed6c3d1
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ variant_enabled() {
# Wrapper around which_deb which looks in all relevant distributions
find_pkg_file() {
local pkgfile
for dist in $DI_CODENAME $CODENAME; do
for dist in unreleased $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do
pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@")
[ -n "$pkgfile" ] && break
done

View File

@ -77,7 +77,7 @@ variant_enabled() {
# Wrapper around which_deb which looks in all relevant distributions
find_pkg_file() {
local pkgfile
for dist in $DI_CODENAME $CODENAME; do
for dist in $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do
pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@")
[ -n "$pkgfile" ] && break
done

View File

@ -64,7 +64,7 @@ variant_enabled() {
# Wrapper around which_deb which looks in all relevant distributions
find_pkg_file() {
local pkgfile
for dist in $DI_CODENAME $CODENAME; do
for dist in $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do
pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@")
[ -n "$pkgfile" ] && break
done