From: Thomas Petazzoni Date: Sun, 30 Nov 2014 14:18:52 +0000 (+0100) Subject: samba: install configuration file unconditionally X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0e56499354d41a3512b674004d84f9e82f98b15;p=buildroot.git 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 --- 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