mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
update_retroplayer-addons: drop loop over single item
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
2ae4537216
commit
02781b9cbf
@ -78,15 +78,12 @@ mkdir -p "${TMPDIR}"
|
||||
|
||||
. "${MY_DIR}/update_common_functions"
|
||||
|
||||
# addons
|
||||
for addontxt in "game-binary-addons https://github.com/kodi-game/repo-binary-addons.git ${KODI_BRANCH}" ; do
|
||||
ADDONS=$(echo $addontxt | awk '{print $1}')
|
||||
ADDONS_DIR="${ADDONS}.git"
|
||||
ADDONS_REPO=$(echo $addontxt | awk '{print $2}')
|
||||
ADDONS_BRANCH=$(echo $addontxt | awk '{print $3}')
|
||||
git_clone ${ADDONS_REPO} ${ADDONS_DIR} ${ADDONS_BRANCH}
|
||||
ADDONS="game-binary-addons"
|
||||
ADDONS_DIR="${ADDONS}.git"
|
||||
ADDONS_REPO="https://github.com/kodi-game/repo-binary-addons.git"
|
||||
git_clone ${ADDONS_REPO} ${ADDONS_DIR} ${KODI_BRANCH}
|
||||
|
||||
for addon in ${ADDONS_DIR}/*.*/ ; do
|
||||
for addon in ${ADDONS_DIR}/*.*/ ; do
|
||||
GAME_ADDON=$(basename ${addon})
|
||||
|
||||
[[ "${GAME_ADDON}" =~ ^game. ]] || continue
|
||||
@ -199,7 +196,6 @@ for addontxt in "game-binary-addons https://github.com/kodi-game/repo-binary-add
|
||||
fi
|
||||
|
||||
cleanup_pkg_tmp
|
||||
done
|
||||
done
|
||||
|
||||
rm -rf "${TMPDIR}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user