summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libnss-mdns
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libnss-mdns')
-rw-r--r--meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
index 5b8c700411..df7d196e31 100644
--- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
+++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
@@ -26,13 +26,13 @@ DEBIANNAME_${PN} = "libnss-mdns"
26RDEPENDS_${PN} = "avahi-daemon" 26RDEPENDS_${PN} = "avahi-daemon"
27 27
28pkg_postinst_${PN} () { 28pkg_postinst_${PN} () {
29 sed -e '/^hosts:/s/\s*\<mdns4\>//' \ 29 sed -e '/^hosts:/s/\s*\<mdns\>//' \
30 -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns4_minimal [NOTFOUND=return]\3\4 mdns4\5/' \ 30 -e 's/\(^hosts:.*\)\(\<files\>\)\(.*\)\(\<dns\>\)\(.*\)/\1\2 mdns4_minimal [NOTFOUND=return]\3\4 mdns\5/' \
31 -i $D/etc/nsswitch.conf 31 -i $D/etc/nsswitch.conf
32} 32}
33 33
34pkg_prerm_${PN} () { 34pkg_prerm_${PN} () {
35 sed -e '/^hosts:/s/\s*\<mdns4\>//' \ 35 sed -e '/^hosts:/s/\s*\<mdns\>//' \
36 -e '/^hosts:/s/\s*mdns4_minimal\s\+\[NOTFOUND=return\]//' \ 36 -e '/^hosts:/s/\s*mdns4_minimal\s\+\[NOTFOUND=return\]//' \
37 -i $D/etc/nsswitch.conf 37 -i $D/etc/nsswitch.conf
38} 38}