aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Wagner <mail@jwagner.eu>2016-03-01 20:56:17 +0100
committerJan Wagner <mail@jwagner.eu>2016-03-01 20:56:17 +0100
commit57c039de88cb94968c4ae6417c4ce42ce23118ea (patch)
tree20a1da4fa134b785abfe109c2b8ca5434754e005
parent4b9b197735e4256320b651d63aaa6b183c1ce2cc (diff)
downloadrpi2-gen-image-57c039de88cb94968c4ae6417c4ce42ce23118ea.tar.gz
rpi2-gen-image-57c039de88cb94968c4ae6417c4ce42ce23118ea.tar.bz2
rpi2-gen-image-57c039de88cb94968c4ae6417c4ce42ce23118ea.zip
another proxy fix - now even without proxy, heh
-rwxr-xr-xrpi2-gen-image.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/rpi2-gen-image.sh b/rpi2-gen-image.sh
index 6c27a4b..ff677d2 100755
--- a/rpi2-gen-image.sh
+++ b/rpi2-gen-image.sh
@@ -179,11 +179,6 @@ if [ "$ENABLE_XORG" = true ] ; then
APT_INCLUDES="${APT_INCLUDES},xorg"
fi
-# Set empty proxy string
-if [ -z "$APT_PROXY" ] ; then
- APT_PROXY="http://"
-fi
-
# Base debootstrap (unpack only)
if [ "$ENABLE_MINBASE" = true ] ; then
http_proxy=${APT_PROXY} debootstrap --arch=armhf --variant=minbase --foreign --include=${APT_INCLUDES} $RELEASE $R http://${APT_SERVER}/debian