summaryrefslogtreecommitdiff
path: root/package/avahi
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-19 13:01:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-19 13:01:04 +0200
commit6c947771424b139199fc56bb7fff47755a17c6a9 (patch)
treed12dd6fede4f02e5bf861a95feb3eb39f0aecd72 /package/avahi
parentd2fd9ef86ee096784c9b326004ba928a16d035ae (diff)
avahi: remove useless 'mkdir -p' in AVAHI_INSTALL_INIT_SYSTEMD
In AVAHI_INSTALL_INIT_SYSTEMD, since we're using 'install -D' to install /usr/lib/tmpfiles.d/avahi.conf in $(TARGET_DIR), there's no need to have a 'mkdir -p' before that, since 'install -D' creates the directories as needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/avahi')
-rw-r--r--package/avahi/avahi.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index cafb2db96..b684ab7f8 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -172,8 +172,6 @@ define AVAHI_INSTALL_INIT_SYSTEMD
ln -fs /lib/systemd/system/avahi-dnsconfd.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/avahi-dnsconfd.service
- mkdir -p $(TARGET_DIR)/usr/lib/tmpfiles.d
-
$(INSTALL) -D -m 644 package/avahi/avahi_tmpfiles.conf \
$(TARGET_DIR)/usr/lib/tmpfiles.d/avahi.conf
endef