#!/bin/sh -ex SSH_COMMAND="ssh -o UserKnownHostsFile=known_hosts -p 48" wget -q https://gitea.osmocom.org/osmocom/osmo-ci/raw/branch/master/contrib/known_hosts mkdir -p public/apks rsync \ -avz \ --delete-after \ -e "$SSH_COMMAND" \ "public/fdroid/" \ "binaries@ftp.osmocom.org:/downloads/home/binaries/web-files/android/fdroid" rsync \ -avz \ --delete-after \ -e "$SSH_COMMAND" \ "public/apks/" \ "binaries@ftp.osmocom.org:/downloads/home/binaries/web-files/android/apks"