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 b0ccfbc797
commit 57dcbbf631

View File

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