summaryrefslogtreecommitdiffstats
path: root/abs/core/avahi/install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-05 13:37:16 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-05 13:37:16 (GMT)
commitccea3d632d0f1f99fca1b9ab5cf0f086410a1525 (patch)
tree0fd72e53817bf3af3c40e9a70ee7d74b1f348ff4 /abs/core/avahi/install
parentd362fe585af0c742164c4e92828649efae98cba9 (diff)
downloadlinhes_pkgbuild-ccea3d632d0f1f99fca1b9ab5cf0f086410a1525.zip
linhes_pkgbuild-ccea3d632d0f1f99fca1b9ab5cf0f086410a1525.tar.gz
linhes_pkgbuild-ccea3d632d0f1f99fca1b9ab5cf0f086410a1525.tar.bz2
avahi: update to 0.6.31-14
Diffstat (limited to 'abs/core/avahi/install')
-rw-r--r--abs/core/avahi/install22
1 files changed, 6 insertions, 16 deletions
diff --git a/abs/core/avahi/install b/abs/core/avahi/install
index 7c75c3d..d4ae23e 100644
--- a/abs/core/avahi/install
+++ b/abs/core/avahi/install
@@ -1,21 +1,11 @@
post_install() {
- getent group avahi &>/dev/null || groupadd -r -g 84 avahi >/dev/null
- getent passwd avahi &>/dev/null || useradd -r -u 84 -g avahi -d / -s /bin/false -c avahi avahi >/dev/null
-
- cat <<EOF
-==> The following daemons may be added to DAEMONS in /etc/rc.conf:
-==> avahi-daemon: the mdns responder, you probably want this.
-==> dbus needs to be running when you start it.
-==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns
-==> configuration on dhcp-less networks.
-
-==> To use some of the client applications you will have to install python.
-==> In addition, pygtk is required for the graphical ones and
-==> twisted for avahi-bookmarks.
-EOF
+ getent group avahi &>/dev/null || groupadd -r -g 84 avahi >/dev/null
+ getent passwd avahi &>/dev/null || useradd -r -u 84 -g avahi -d / -s /bin/false -c avahi avahi >/dev/null
+ true
}
post_remove() {
- getent passwd avahi &>/dev/null && userdel avahi >/dev/null
- getent group avahi &>/dev/null && groupdel avahi >/dev/null
+ getent passwd avahi &>/dev/null && userdel avahi >/dev/null
+ getent group avahi &>/dev/null && groupdel avahi >/dev/null
+ true
}