From c3feae6430738b27c148f3fae0f894135847326c Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Mon, 27 Feb 2012 11:46:18 +0100 Subject: disable http_proxy for chroot-hooks --- config/chroot_local-hooks/04-cleanup | 1 + config/chroot_local-hooks/fix-libgl-bpo-ia32.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/config/chroot_local-hooks/04-cleanup b/config/chroot_local-hooks/04-cleanup index cb407a3..985bee0 100755 --- a/config/chroot_local-hooks/04-cleanup +++ b/config/chroot_local-hooks/04-cleanup @@ -1,4 +1,5 @@ #!/bin/sh +export http_proxy= #apt-get remove --yes --purge aptitude dselect nano vim-tiny libdiscover1 resolvconf apt-get remove --yes --purge nano vim-tiny libdiscover1 resolvconf /usr/sbin/remove-orphans || true diff --git a/config/chroot_local-hooks/fix-libgl-bpo-ia32.sh b/config/chroot_local-hooks/fix-libgl-bpo-ia32.sh index 3272895..b063677 100755 --- a/config/chroot_local-hooks/fix-libgl-bpo-ia32.sh +++ b/config/chroot_local-hooks/fix-libgl-bpo-ia32.sh @@ -1,5 +1,6 @@ #!/bin/sh [ $(id -u) != 0 ] && exit +export http_proxy= dpkg -l libgl1-mesa-glx|grep -q bpo || exit 0 if [ -f /usr/lib32/libGL.so.1.2 ]; then TMP=$(mktemp -d /tmp/libgl.XXXXXX) -- cgit v1.0