Bugfix: don't overwrite INSTALL_TARGET
@@ -9,7 +9,7 @@ MOPIDY_SOURCE = Mopidy-$(MOPIDY_VERSION).tar.gz
MOPIDY_SITE = https://files.pythonhosted.org/packages/85/08/fbe06c920f4443b3ce1d6579050a2fac5132538977762f0d4873c098c8d1
MOPIDY_SETUP_TYPE = setuptools
-define MOPIDY_INSTALL_TARGET_CMDS
+define MOPIDY_INSTALL_CONF
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_HIFIBERRY_PATH)/package/mopidy/mopidy.conf \
$(TARGET_DIR)/etc/mopidy.conf
endef
@@ -21,4 +21,6 @@ define MOPIDY_INSTALL_INIT_SYSTEMD
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mopidy.service
endef
+MOPIDY_POST_INSTALL_TARGET_HOOKS += MOPIDY_INSTALL_CONF
+
$(eval $(python-package))
