From 15df8fc76d3f7c36eadf2478b2cc6ade9ec6edd2 Mon Sep 17 00:00:00 2001 From: X2go Administrator Date: Mon, 25 Apr 2011 17:40:49 +0200 Subject: adds COMPONENT var to .pbuilderrc, allows OTHERMIRROR override --- home/.pbuilderrc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/home/.pbuilderrc b/home/.pbuilderrc index 78cea3b..dcfca4d 100644 --- a/home/.pbuilderrc +++ b/home/.pbuilderrc @@ -7,6 +7,7 @@ BASEDIRECTORY="/srv/pbuilder/cache" DIST=${DIST:-debian} CODENAME=${CODENAME:-sid} ARCH=${ARCH:-amd64} +COMPONENT="${COMPONENT:-heuler}" # pbuilder options BASETGZ="$BASEDIRECTORY/base-$DIST-$CODENAME-$ARCH.tgz" @@ -41,9 +42,6 @@ fi if [ "x${DIST}" = "xubuntu" ]; then MIRRORSITE="http://localhost:9999/ubuntu" elif [ "x${DIST}" = "xdebian" ]; then - MIRRORSITE="http://ftp.de.debian.org/debian" - MIRRORSITE="http://localhost:3142/debian" - OTHERMIRROR="deb http://code.x2go.org/debian $CODENAME heuler" + MIRRORSITE="http://localhost:3142/debian" + OTHERMIRROR=${OTHERMIRROR-"deb http://code.x2go.org/debian $CODENAME $COMPONENT"} fi - -export OTHERMIRROR -- cgit v1.2.3