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
touch_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() {
@ -137,11 +137,11 @@ update_repo_version() {
}
usage() {
echo " usage: $0 -u to upload"
echo " $0 -b binary|official|all [project-name] to build [for a single project]"
echo " $0 -ru to update PKG_REV"
echo " $0 -rv to update PKG_ADDON_REPOVERSION"
echo " $0 -xml to update the addons.xml"
echo " usage: $0 -u to upload"
echo " $0 -b binary|retroplayer|official|all [project-name] to build [for a single project]"
echo " $0 -ru to update PKG_REV"
echo " $0 -rv to update PKG_ADDON_REPOVERSION"
echo " $0 -xml to update the addons.xml"
}
if [ "$1" = "-b" -a -z "$2" ]; then
@ -152,6 +152,9 @@ elif [ "$1" = "-b" -a -n "$2" ]; then
binary)
repo="packages/mediacenter/kodi-binary-addons"
;;
retroplayer)
repo="packages/mediacenter/kodi-binary-addons/game.libretro.*"
;;
official)
repo="packages/addons"
;;