diff options
Diffstat (limited to 'meta/recipes-connectivity/avahi/avahi.inc')
-rw-r--r-- | meta/recipes-connectivity/avahi/avahi.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc index 731ad9a1cc..61ca25f75e 100644 --- a/meta/recipes-connectivity/avahi/avahi.inc +++ b/meta/recipes-connectivity/avahi/avahi.inc | |||
@@ -14,7 +14,7 @@ SECTION = "network" | |||
14 | # python scripts are under GPLv2+ | 14 | # python scripts are under GPLv2+ |
15 | LICENSE = "GPLv2+ & LGPLv2.1+" | 15 | LICENSE = "GPLv2+ & LGPLv2.1+" |
16 | 16 | ||
17 | INC_PR = "r1" | 17 | INC_PR = "r2" |
18 | 18 | ||
19 | DEPENDS = "expat libcap libdaemon dbus glib-2.0" | 19 | DEPENDS = "expat libcap libdaemon dbus glib-2.0" |
20 | 20 | ||
@@ -123,17 +123,16 @@ do_install_avahi-autoipd() { | |||
123 | } | 123 | } |
124 | 124 | ||
125 | # At the time the postinst runs, dbus might not be setup so only restart if running | 125 | # At the time the postinst runs, dbus might not be setup so only restart if running |
126 | # Don't exit early, because update-rc.d needs to run subsequently. | ||
126 | 127 | ||
127 | pkg_postinst_avahi-daemon () { | 128 | pkg_postinst_avahi-daemon () { |
128 | if [ "x$D" != "x" ]; then | 129 | if [ -z "$D" ]; then |
129 | exit 0 | ||
130 | fi | ||
131 | |||
132 | DBUSPID=`pidof dbus-daemon` | 130 | DBUSPID=`pidof dbus-daemon` |
133 | 131 | ||
134 | if [ "x$DBUSPID" != "x" ]; then | 132 | if [ "x$DBUSPID" != "x" ]; then |
135 | /etc/init.d/dbus-1 force-reload | 133 | /etc/init.d/dbus-1 force-reload |
136 | fi | 134 | fi |
135 | fi | ||
137 | } | 136 | } |
138 | 137 | ||
139 | pkg_postinst_avahi-autoipd () { | 138 | pkg_postinst_avahi-autoipd () { |