[X2go-Commits] buildscripts.git - master (branch) updated: ec6276378e9ba0ef36301d3f8c91113c282d0384

X2Go dev team git-admin at x2go.org
Tue Jan 1 01:47:34 CET 2013


The branch, master has been updated
       via  ec6276378e9ba0ef36301d3f8c91113c282d0384 (commit)
      from  a25b21a27c99430f16912b351b5f201ec6fed396 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ec6276378e9ba0ef36301d3f8c91113c282d0384
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jan 1 01:47:58 2013 +0100

    when building for nightly area, include package source of the main area

-----------------------------------------------------------------------

Summary of changes:
 bin/build-package |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/bin/build-package b/bin/build-package
index eac058e..86ffd71 100755
--- a/bin/build-package
+++ b/bin/build-package
@@ -212,8 +212,12 @@ build_packages() {
 				dch --distribution $VERSION --force-distribution -l "+$l_CODENAME~$COMPONENT$DATE~$GITREV~build" "Auto-built $l_DIST $l_CODENAME package for $REPOS_SERVER repository."
 				mkdir -p $PKGDIST/$l_DIST/$l_CODENAME/{amd64,i386}
 				OTHERMIRROR=""
-				echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME $COMPONENT"
-				
+				if [ "x$COMPONENT" = "x$COMPONENT_NIGHTLY" ]; then
+					echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME main $COMPONENT"
+				else
+					echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME $COMPONENT"
+				fi
+
 				[ "x$USE_SUDO" != "xyes" ] && {
 					[ "x$EXTRA_ARCHS_ONLY" = "x" ] && {
 						[ "x$SKIP_ARCH" != "xamd64" ] && cat debian/control | egrep 'Architecture.*(all|any|amd64)' >/dev/null && {


hooks/post-receive
-- 
buildscripts.git (X2Go packaging scripts)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "buildscripts.git" (X2Go packaging scripts).




More information about the x2go-commits mailing list