[Pkg-utopia-maintainers] Bug#492466: avahi-daemon: avahi-daemon-check-dns.sh quoting error
James Westby
jw+debian at jameswestby.net
Sat Jul 26 11:03:50 UTC 2008
Package: avahi-daemon
Version: 0.6.23-1
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu intrepid ubuntu-patch
Hi,
In
https://bugs.launchpad.net/bugs/200659
"Lars L" reported that the function dns_has_local() in
/usr/lib/avahi/avahi-daemon-check-dns.sh always returns 1 when
FAKE_HOST_RETURN is not set.
He also provided the following patch to correct this problem.
Please consider applying it.
Thanks,
James
--- /usr/lib/avahi/avahi-daemon-check-dns.sh.old 2008-01-17
18:17:42.000000000 +0100
+++ /usr/lib/avahi/avahi-daemon-check-dns.sh 2008-03-10 18:05:10.000000000 +0100
@@ -45,7 +45,7 @@
dns_has_local() {
# Some magic to do tests
- if [ -n ${FAKE_HOST_RETURN} ] ; then
+ if [ -n "${FAKE_HOST_RETURN}" ] ; then
if [ "${FAKE_HOST_RETURN}" = "true" ]; then
return 0;
else
More information about the Pkg-utopia-maintainers
mailing list