X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;h=65881267e2373c3f11e6b577341148d4c38507bd;hp=82a2fb9ab54ac4732d165691dd7d23b2846eba85;hb=HEAD;hpb=005cdc1ea39899e025f302f05e16fb93bb66fee9 diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index 82a2fb9..6588126 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -8,17 +8,14 @@ set -u set -e +. "$GRML_LIVE_CONFIG" # visualize chroot inside zsh: 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 "$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 <