diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-07-09 03:08:06 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-07-09 03:08:06 +0000 |
commit | 11e60aab08a46d6d3c22d8f4af02630016ef8e50 (patch) | |
tree | 5f27cad003e843a2b9b327ebf825b05ab5841df9 /net/avahi-app/pkg-plist | |
parent | c72dc261980507cd8b4ce2fe7a5de556102e3ad4 (diff) | |
download | ports-11e60aab08a46d6d3c22d8f4af02630016ef8e50.tar.gz ports-11e60aab08a46d6d3c22d8f4af02630016ef8e50.zip |
Notes
Diffstat (limited to 'net/avahi-app/pkg-plist')
-rw-r--r-- | net/avahi-app/pkg-plist | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/avahi-app/pkg-plist b/net/avahi-app/pkg-plist index cca894f1937f..f07b2a7825cc 100644 --- a/net/avahi-app/pkg-plist +++ b/net/avahi-app/pkg-plist @@ -7,9 +7,13 @@ bin/avahi-resolve bin/avahi-resolve-address bin/avahi-resolve-host-name bin/avahi-set-host-name -etc/avahi/avahi-daemon.conf +@unexec if cmp -s %D/etc/avahi/avahi-daemon.conf %D/etc/avahi/avahi-daemon.conf.dist; then rm -f %D/etc/avahi/avahi-daemon.conf; fi +etc/avahi/avahi-daemon.conf.dist +@exec [ -f %B/avahi-daemon.conf ] || cp %B/%f %B/avahi-daemon.conf etc/avahi/avahi-dnsconfd.action +@unexec if cmp -s %D/etc/avahi/hosts %D/etc/avahi/hosts.dist; then rm -f %D/etc/avahi/hosts; fi etc/avahi/hosts +@exec [ -f %B/hosts ] || cp %B/%f %B/hosts etc/avahi/services/sftp-ssh.service etc/avahi/services/ssh.service etc/dbus-1/system.d/avahi-dbus.conf |