Merge pull request #4164 from HiassofT/le92-mkpkg-retroplayer

[le92] update_retroplayer-addons: stop defaulting to retroplayer branch
This commit is contained in:
CvH 2020-02-26 17:59:19 +01:00 committed by GitHub
commit c96642e72b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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