diff options
author | X2go Administrator <x2go-admin@minobo.das-netzwerkteam.de> | 2011-04-25 17:40:49 +0200 |
---|---|---|
committer | X2go Administrator <x2go-admin@minobo.das-netzwerkteam.de> | 2011-04-25 17:47:25 +0200 |
commit | 15df8fc76d3f7c36eadf2478b2cc6ade9ec6edd2 (patch) | |
tree | d1a37b2fe363a6b711e0957c6f5b9ad8b3c93454 | |
parent | 19db19ff6e74212b4459bb201f873646eb595ea7 (diff) | |
download | buildscripts-15df8fc76d3f7c36eadf2478b2cc6ade9ec6edd2.tar.gz buildscripts-15df8fc76d3f7c36eadf2478b2cc6ade9ec6edd2.tar.bz2 buildscripts-15df8fc76d3f7c36eadf2478b2cc6ade9ec6edd2.zip |
adds COMPONENT var to .pbuilderrc, allows OTHERMIRROR override
-rw-r--r-- | home/.pbuilderrc | 8 |
1 files 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 |