mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
tools/update_binary-addons: ignore game.* addons
This commit is contained in:
parent
1fccb81f43
commit
3abcbb3f5f
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
################################################################################
|
################################################################################
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||||
@ -128,6 +128,9 @@ for addontxt in $KODI_DIR/cmake/addons/bootstrap/repositories/*-addons.txt ; do
|
|||||||
git_clone $ADDONREPO master $ADDONS.git $GIT_HASH
|
git_clone $ADDONREPO master $ADDONS.git $GIT_HASH
|
||||||
for addon in $ADDONS.git/*.*/ ; do
|
for addon in $ADDONS.git/*.*/ ; do
|
||||||
ADDON=$(basename $addon)
|
ADDON=$(basename $addon)
|
||||||
|
|
||||||
|
[[ ${ADDON} =~ ^game.* ]] && continue # ignore game.* addons - handled by update_retroplayer-addons
|
||||||
|
|
||||||
REPO=$(cat $addon/$ADDON.txt | awk '{print $2}')
|
REPO=$(cat $addon/$ADDON.txt | awk '{print $2}')
|
||||||
GIT_HASH=$(cat $addon/$ADDON.txt | awk '{print $3}')
|
GIT_HASH=$(cat $addon/$ADDON.txt | awk '{print $3}')
|
||||||
PKG_NAME="$ADDON"
|
PKG_NAME="$ADDON"
|
||||||
@ -166,6 +169,8 @@ done
|
|||||||
|
|
||||||
# finally, any other unofficial addons
|
# finally, any other unofficial addons
|
||||||
for ADDON in $(ls -1 ../../packages/mediacenter/kodi-binary-addons); do
|
for ADDON in $(ls -1 ../../packages/mediacenter/kodi-binary-addons); do
|
||||||
|
[[ ${ADDON} =~ ^game.* ]] && continue # ignore game.* addons - handled by update_retroplayer-addons
|
||||||
|
|
||||||
# ignore already processed addons
|
# ignore already processed addons
|
||||||
echo -e "${PROCESSED}" | grep -qE "^${ADDON}$" && continue
|
echo -e "${PROCESSED}" | grep -qE "^${ADDON}$" && continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user