update_retroplayer-addons: check for orphaned addon packages

Report which game addon packages are only present in LE but not in
the kodi game binary addon repo.

These packages are not automatically bumped by the script and should
either be removed from LE or added to the kodi game binary repo.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2021-02-17 11:06:49 +01:00
parent eb000371a6
commit 0438fcced4

View File

@ -193,5 +193,13 @@ for addon in ${ADDONS_DIR}/*.*/ ; do
cleanup_pkg_tmp
done
msg_info "Checking for orphaned addon packages in LE"
for addon in ${ROOT}/packages/mediacenter/kodi-binary-addons/game.libretro.* ; do
GAME_ADDON=$(basename ${addon})
if [ ! -d "${ADDONS_DIR}/${GAME_ADDON}" ] ; then
msg_warn "ORHPANED ${GAME_ADDON}, not present in kodi game repo"
fi
done
rm -rf "${TMPDIR}"