Merge pull request #1299 from lrusak/repo-tool

repo-tool: add retroplayer support
This commit is contained in:
Christian Hewitt 2017-03-10 07:37:43 +04:00 committed by GitHub
commit ec3e0b1995

View File

@ -91,7 +91,7 @@ upload() {
fi fi
touch_addons_xml touch_addons_xml
update_addons_xml update_addons_xml
rsync -av --progress --delete target/addons/$ADDON_VERSION $RSYNC_REPO rsync -av --progress --delete "$RSYNC_SHELL" target/addons/$ADDON_VERSION $RSYNC_REPO
} }
build() { build() {
@ -137,11 +137,11 @@ update_repo_version() {
} }
usage() { usage() {
echo " usage: $0 -u to upload" echo " usage: $0 -u to upload"
echo " $0 -b binary|official|all [project-name] to build [for a single project]" echo " $0 -b binary|retroplayer|official|all [project-name] to build [for a single project]"
echo " $0 -ru to update PKG_REV" echo " $0 -ru to update PKG_REV"
echo " $0 -rv to update PKG_ADDON_REPOVERSION" echo " $0 -rv to update PKG_ADDON_REPOVERSION"
echo " $0 -xml to update the addons.xml" echo " $0 -xml to update the addons.xml"
} }
if [ "$1" = "-b" -a -z "$2" ]; then if [ "$1" = "-b" -a -z "$2" ]; then
@ -152,6 +152,9 @@ elif [ "$1" = "-b" -a -n "$2" ]; then
binary) binary)
repo="packages/mediacenter/kodi-binary-addons" repo="packages/mediacenter/kodi-binary-addons"
;; ;;
retroplayer)
repo="packages/mediacenter/kodi-binary-addons/game.libretro.*"
;;
official) official)
repo="packages/addons" repo="packages/addons"
;; ;;