Also makes the installation of the init script unconditional.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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))