summaryrefslogtreecommitdiff
path: root/package/multimedia/mpd/mpd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/mpd/mpd.mk')
-rw-r--r--package/multimedia/mpd/mpd.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/multimedia/mpd/mpd.mk b/package/multimedia/mpd/mpd.mk
index 971ad6767..61b107b38 100644
--- a/package/multimedia/mpd/mpd.mk
+++ b/package/multimedia/mpd/mpd.mk
@@ -96,9 +96,10 @@ MPD_CONF_OPT += --disable-wavpack
endif
define MPD_INSTALL_EXTRA_FILES
- [ ! -f $(TARGET_DIR)/etc/mpd.conf ] && \
+ @if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
$(INSTALL) -D package/multimedia/mpd/mpd.conf \
- $(TARGET_DIR)/etc/mpd.conf
+ $(TARGET_DIR)/etc/mpd.conf; \
+ fi
$(INSTALL) -m 0755 -D package/multimedia/mpd/S95mpd \
$(TARGET_DIR)/etc/init.d/S95mpd
endef