mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 07:06:36 +00: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:
parent
0b69f7438a
commit
0b482314f8
@ -96,9 +96,10 @@ MPD_CONF_OPT += --disable-wavpack
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define MPD_INSTALL_EXTRA_FILES
|
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 \
|
$(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 \
|
$(INSTALL) -m 0755 -D package/multimedia/mpd/S95mpd \
|
||||||
$(TARGET_DIR)/etc/init.d/S95mpd
|
$(TARGET_DIR)/etc/init.d/S95mpd
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user