diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:23 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:23 +0200 |
commit | fe7102be0cfa4b23ac583055dfdfc6241fd61179 (patch) | |
tree | c0c6a227fe360e30dc3cb6042d9180330994e238 /src/scripts/11bootstrap.sh | |
parent | 873a8ac3d1221f47f695c8d89a63370296afffda (diff) | |
download | vyos-live-build-fe7102be0cfa4b23ac583055dfdfc6241fd61179.tar.gz vyos-live-build-fe7102be0cfa4b23ac583055dfdfc6241fd61179.zip |
Adding live-package 0.99.9-1.
Diffstat (limited to 'src/scripts/11bootstrap.sh')
-rw-r--r-- | src/scripts/11bootstrap.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scripts/11bootstrap.sh b/src/scripts/11bootstrap.sh index f0a671563..f2f6c0ae7 100644 --- a/src/scripts/11bootstrap.sh +++ b/src/scripts/11bootstrap.sh @@ -13,6 +13,17 @@ Bootstrap () { if [ ! -f "${LIVE_ROOT}"/.stage/bootstrap ] then + # Use proxy + if [ -n "${LIVE_PROXY_FTP}" ] && [ -z "${ftp_proxy}" ] + then + export ftp_proxy="${LIVE_PROXY_FTP}" + fi + + if [ -n "${LIVE_PROXY_HTTP}" ] && [ -z "${http_proxy}" ] + then + export http_proxy="${LIVE_PROXY_HTTP}" + fi + # Create chroot directory if [ ! -d "${LIVE_CHROOT}" ] then |