update_retroplayer-addons: stop defaulting to retroplayer branch

The kodi-game binary addon repo now contains Leia and Matrix,
like the kodi binary addon repo, so make the branch name a
mandatory option.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2020-01-30 10:55:55 +01:00
parent be02e127f9
commit 46f0ad43d8

View File

@ -8,7 +8,7 @@ FORCE_LIBRETRO_BUMP=""
KEEP_GIT_DIRS="yes" KEEP_GIT_DIRS="yes"
usage() { usage() {
echo "Usage: $0 [options] [<branch>]" echo "Usage: $0 [options] <kodi-branch>"
echo " -b, --bump-pkg-rev: bump PKG_REV if package was not updated" echo " -b, --bump-pkg-rev: bump PKG_REV if package was not updated"
echo " -d, --delete-git-dirs: delete cloned git dirs after update" echo " -d, --delete-git-dirs: delete cloned git dirs after update"
echo " -f, --force-libretro-bump: check for new libretro package" echo " -f, --force-libretro-bump: check for new libretro package"
@ -46,16 +46,11 @@ while [ $# -ne 0 ]; do
done done
if [ $# -gt 1 ]; then if [ $# -ne 1 ]; then
usage usage
exit 1 exit 1
fi fi
if [ $# -eq 0 ]; then KODI_BRANCH="$1"
KODI_BRANCH="retroplayer"
echo "using default branch ${KODI_BRANCH}"
else
KODI_BRANCH="$1"
fi
# list of packages to exclude from update # list of packages to exclude from update
EXCLUDED_PACKAGES="game.libretro.chailove EXCLUDED_PACKAGES="game.libretro.chailove