repo-tool: add retroplayer support

This commit is contained in:
Lukas Rusak 2017-02-08 01:28:22 -08:00
parent 3e00e3b8ba
commit 450237dca4
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

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() {
@ -138,7 +138,7 @@ 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"
@ -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"
;; ;;