From e0e56499354d41a3512b674004d84f9e82f98b15 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 30 Nov 2014 15:18:52 +0100 Subject: [PATCH] samba: install configuration file 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/samba/samba.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 92bbe4e825..0e4db95993 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -177,10 +177,7 @@ SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION endif define SAMBA_INSTALL_CONFIG - # install config - @if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \ - $(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \ - fi + $(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf endef SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_INSTALL_CONFIG -- 2.30.2