From 0438fcced483d464eac47e3b38a2d75fcdd8772c Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Wed, 17 Feb 2021 11:06:49 +0100 Subject: [PATCH] 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 --- tools/mkpkg/update_retroplayer-addons | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/mkpkg/update_retroplayer-addons b/tools/mkpkg/update_retroplayer-addons index f49a6c1a03..428f08c273 100755 --- a/tools/mkpkg/update_retroplayer-addons +++ b/tools/mkpkg/update_retroplayer-addons @@ -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}"