From aa6c7a8a994adad042668b569543e308318ecc5b Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:47 +0100 Subject: [PATCH] transmission: install init script unconditionally As discussed, users should use a rootfs overlay or a post-build script instead of a custom skeleton to override files installed by Buildroot, so there is no point in having conditions when installing init scripts or configuration files. Signed-off-by: Thomas Petazzoni Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/transmission/transmission.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk index 27ad9d93e1..b8a5c429da 100644 --- a/package/transmission/transmission.mk +++ b/package/transmission/transmission.mk @@ -37,9 +37,8 @@ ifeq ($(BR2_PACKAGE_TRANSMISSION_DAEMON),y) TRANSMISSION_CONF_OPTS += --enable-daemon define TRANSMISSION_INSTALL_INIT_SYSV - [ -f $(TARGET_DIR)/etc/init.d/S92transmission ] || \ - $(INSTALL) -m 0755 -D package/transmission/S92transmission \ - $(TARGET_DIR)/etc/init.d/S92transmission + $(INSTALL) -m 0755 -D package/transmission/S92transmission \ + $(TARGET_DIR)/etc/init.d/S92transmission endef else