From 9b552430a3a52999d9adfb381561b0f0bd397d25 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:05 +0100 Subject: [PATCH] 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 --- package/netatalk/netatalk.mk | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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)) -- 2.30.2