diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 11:46:18 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 11:46:18 +0100 |
commit | c3feae6430738b27c148f3fae0f894135847326c (patch) | |
tree | db0aff0dda43c001bc367128267fd3ba1d62cb3c /config/chroot_local-hooks | |
parent | 04728efa2c791d2b98e9d4bf666d5578c459ac5a (diff) | |
download | kanotix-c3feae6430738b27c148f3fae0f894135847326c.zip kanotix-c3feae6430738b27c148f3fae0f894135847326c.tar.gz |
disable http_proxy for chroot-hooks
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-x | config/chroot_local-hooks/04-cleanup | 1 | ||||
-rwxr-xr-x | config/chroot_local-hooks/fix-libgl-bpo-ia32.sh | 1 |
2 files changed, 2 insertions, 0 deletions
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) |