buildsystem: use distribution defined addon install path

This commit is contained in:
Portisch 2022-12-10 21:34:45 +01:00
parent ecb6f6c7b5
commit 31dfa27800

View File

@ -29,7 +29,7 @@ install_addon_files "${ADDON_DIRECTORY}"
debug_strip "${ADDON_DIRECTORY}"
# pack_addon()
ADDON_INSTALL_DIR="${TARGET_IMG}/${ADDONS}/${ADDON_VERSION}/${DEVICE:-${PROJECT}}/${TARGET_ARCH}/${PKG_ADDON_ID}"
ADDON_INSTALL_DIR="${TARGET_ADDONS}/${PKG_ADDON_ID}"
ADDONVER="$(xmlstarlet sel -t -v "/addon/@version" ${ADDON_BUILD}/${PKG_ADDON_ID}/addon.xml)"
if [ -f ${ADDON_INSTALL_DIR}/${PKG_ADDON_ID}-${ADDONVER}.zip ]; then