projects
/
bind9-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
18584c6
)
r12: - add "" around $script
author
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Wed, 31 Oct 2007 17:11:51 +0000
(17:11 +0000)
committer
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Wed, 31 Oct 2007 17:11:51 +0000
(17:11 +0000)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
d5f2e77
..
49b83ca
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-153,10
+153,10
@@
EOF
script='/^logging/,/^}/ { if ($0 ~ /category lame-servers/) { print "yes"; exit } }'
lameconf=
if [ -e /etc/bind/named.conf.options -a -e /etc/bind/named.conf ]; then
script='/^logging/,/^}/ { if ($0 ~ /category lame-servers/) { print "yes"; exit } }'
lameconf=
if [ -e /etc/bind/named.conf.options -a -e /etc/bind/named.conf ]; then
- lameconf=$(cat /etc/bind/named.conf /etc/bind/named.conf.options | awk $script)
+ lameconf=$(cat /etc/bind/named.conf /etc/bind/named.conf.options | awk "$script")
else
if [ -e /etc/bind/named.conf ]; then
else
if [ -e /etc/bind/named.conf ]; then
- lameconf=$(awk $script /etc/bind/named.conf)
+ lameconf=$(awk "$script" /etc/bind/named.conf)
fi
fi
if [ "x$lameconf" != "xyes" ]; then
fi
fi
if [ "x$lameconf" != "xyes" ]; then