diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-20 16:14:58 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-20 16:20:58 +0200 |
commit | 9bf2c07b1fd571350022585b5a057c39a8558656 (patch) | |
tree | 665bfba64cf08c7c1e0c7f036b566bcfa16f3657 | |
parent | 36f23af72fdfc38c06e7b9cf6ba9bf5b74516309 (diff) | |
download | buildscripts-9bf2c07b1fd571350022585b5a057c39a8558656.tar.gz buildscripts-9bf2c07b1fd571350022585b5a057c39a8558656.tar.bz2 buildscripts-9bf2c07b1fd571350022585b5a057c39a8558656.zip |
sbuild-deb-package: Allow component bundle package archives as OTHERMIRROR, too.
-rwxr-xr-x | bin/sbuild-deb-package | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package index e234423..d146ed2 100755 --- a/bin/sbuild-deb-package +++ b/bin/sbuild-deb-package @@ -289,6 +289,8 @@ build_packages() { OTHERMIRROR="" if [ "x${COMPONENT}" = "x${COMPONENT_NIGHTLY}" ]; then grep -qs "${PROJECT}" <<< "${PACKAGE_WITHOUT_OTHERMIRROR}" || OTHERMIRROR="deb http://${REPOS_SERVER}/${l_DIST}-nightly ${l_CODENAME} main" + elif echo "${COMPONENT_BUNDLES}" | grep -q "${COMPONENT}" 1>/dev/null; then + grep -qs "${PROJECT}" <<< "${PACKAGE_WITHOUT_OTHERMIRROR}" || OTHERMIRROR="deb http://${REPOS_SERVER}/${l_DIST}-${COMPONENT} ${l_CODENAME} main" else grep "${PROJECT}" <<< "${PACKAGE_WITHOUT_OTHERMIRROR}" || OTHERMIRROR="deb http://${REPOS_SERVER}/${l_DIST} ${l_CODENAME} main" fi |