projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5dfcc4
)
do not fail with empty $APT_PROXY
author
Michael Prokop
<mika@grml.org>
Fri, 25 Nov 2011 19:23:52 +0000
(20:23 +0100)
committer
Michael Prokop
<mika@grml.org>
Fri, 25 Nov 2011 19:24:34 +0000
(20:24 +0100)
etc/grml/fai/config/hooks/updatebase.GRMLBASE
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/hooks/updatebase.GRMLBASE
b/etc/grml/fai/config/hooks/updatebase.GRMLBASE
index
82a2fb9
..
930ecbd
100755
(executable)
--- 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 <<EOF
Acquire::http { Proxy "$APT_PROXY"; };
EOF