From: Michael Prokop Date: Fri, 25 Nov 2011 19:23:52 +0000 (+0100) Subject: do not fail with empty $APT_PROXY X-Git-Tag: v0.17.0~66 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=cc7616ec456575572577d36d8800a63522a2b75f do not fail with empty $APT_PROXY --- diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index 82a2fb9..930ecbd 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -18,7 +18,7 @@ HOSTNAME='' [ -n "$HOSTNAME" ] || HOSTNAME=grml echo "$HOSTNAME" > $target/etc/hostname -if [ -n "$APT_PROXY" ] ; then +if [ -n "${APT_PROXY:-}" ] ; then cat > $target/etc/apt/apt.conf.d/90grml-apt-proxy.conf <