From 9721d857fe875ee33cebc99955ec4148171b3a05 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.eu>
Date: Wed, 20 Apr 2016 13:02:11 +0200
Subject: [PATCH] avahi: use -e instead of -L to check if dbus is enabled.

---
 srcpkgs/avahi/files/avahi-daemon/run | 2 +-
 srcpkgs/avahi/template               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/avahi/files/avahi-daemon/run b/srcpkgs/avahi/files/avahi-daemon/run
index 1710a13cea1..af2dc17a93d 100755
--- a/srcpkgs/avahi/files/avahi-daemon/run
+++ b/srcpkgs/avahi/files/avahi-daemon/run
@@ -1,6 +1,6 @@
 #!/bin/sh
 # if dbus is enabled wait for it.
-if [ -L /var/service/dbus ]; then
+if [ -e /var/service/dbus ]; then
 	sv check dbus > /dev/null || exit 1
 fi
 exec avahi-daemon -s
diff --git a/srcpkgs/avahi/template b/srcpkgs/avahi/template
index dd49736b8f3..4cc9a90862f 100644
--- a/srcpkgs/avahi/template
+++ b/srcpkgs/avahi/template
@@ -1,7 +1,7 @@
 # Template file for 'avahi'
 pkgname=avahi
 version=0.6.32
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
  --disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl