<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bb577f597d00f2efab379033b8af120a45f5618b">https://github.com/macports/macports-ports/commit/bb577f597d00f2efab379033b8af120a45f5618b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bb577f597d00f2efab379033b8af120a45f5618b
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Oct 12 06:06:58 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> avahi: ensure no plist files are overlooked
</span>---
net/avahi/Portfile | 8 ++++++++
1 file changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/avahi/Portfile b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 244d101..c70d681 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/avahi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,6 +95,14 @@ post-destroot {
</span> file attributes ${destroot}/Library/LaunchDaemons/${fl} -permissions 0644
move ${destroot}/Library/LaunchDaemons/${fl} ${destroot}${prefix}/etc/LaunchDaemons
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # previous command should move all LaunchDaemons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach fl [glob -nocomplain -tails -directory ${destroot}/Library/LaunchDaemons *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${destroot}/Library/LaunchDaemons should be empty"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${fl} should not exist in ${destroot}/Library/LaunchDaemons"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "unaccounted for file in LaunchDaemons"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${startupitem.install}} {
foreach fl ${launch_daemons} {
ln -s ${prefix}/etc/LaunchDaemons/${fl} ${destroot}/Library/LaunchDaemons/${fl}
</pre><pre style='margin:0'>
</pre>