From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:05 +0000 (+0100) Subject: netatalk: use _INSTALL_INIT_SYSV mechanism X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b552430a3a52999d9adfb381561b0f0bd397d25;p=buildroot.git netatalk: use _INSTALL_INIT_SYSV mechanism Also makes the installation of the init script unconditional. Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk index 5ea55c25c9..6c1b64094d 100644 --- a/package/netatalk/netatalk.mk +++ b/package/netatalk/netatalk.mk @@ -50,12 +50,9 @@ else NETATALK_CONF_OPTS += --disable-cups endif -define NETATALK_INSTALL_EXTRA_FILES - [ -f $(TARGET_DIR)/etc/init.d/S50netatalk ] || \ - $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ - $(TARGET_DIR)/etc/init.d/S50netatalk +define NETATALK_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ + $(TARGET_DIR)/etc/init.d/S50netatalk endef -NETATALK_POST_INSTALL_TARGET_HOOKS += NETATALK_INSTALL_EXTRA_FILES - $(eval $(autotools-package))