mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
mpd: fix mpd.conf installation check
If target /etc/mpd.conf exists the evaluation will be fail thus breaking the build process. Fix it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
0b69f7438a
commit
0b482314f8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user