X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;h=7a79cbe1a369ef444069819d55e0431075a442d6;hb=9dafaad2fe959f195d68a38655f60d00ee028256;hp=82a2fb9ab54ac4732d165691dd7d23b2846eba85;hpb=005cdc1ea39899e025f302f05e16fb93bb66fee9;p=grml-live.git diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index 82a2fb9..7a79cbe 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -14,11 +14,11 @@ echo grml_chroot > $target/etc/debian_chroot HOSTNAME='' [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf -[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local +[ -n "$GRML_LIVE_LOCAL_CONFIG" ] && . "$GRML_LIVE_LOCAL_CONFIG" [ -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 <