# HG changeset patch # User David Demelier # Date 1567191600 -7200 # Node ID 4bb68497c97c0664140df4e569b413b00ec7b2d0 # Parent 73d1045713feaafb5c43fa985ecc3fd2f613cf9c dns/avahi: use post-install argument diff -r 73d1045713fe -r 4bb68497c97c dns/avahi/avahi-post.sh --- a/dns/avahi/avahi-post.sh Fri Aug 30 13:45:01 2019 +0200 +++ b/dns/avahi/avahi-post.sh Fri Aug 30 21:00:00 2019 +0200 @@ -15,4 +15,6 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # -install -dm755 -o avahi -g avahi /var/run/avahi-daemon +if [ "$1" = "post-install" ]; then + install -dm755 -o avahi -g avahi /var/run/avahi-daemon +fi