docker/fdroid/entrypoint.sh

17 lines
363 B
Bash
Executable File

#!/bin/bash
(cd /repo/
fdroid init
sed -i \
-e "/repo_url/s .* repo_url:\ https://$BASE_URL/repo " \
-e "/repo_name/s .* repo_name:\ \"$REPO_NAME\" " \
config.yml
)
get_apks.sh
echo "$CRON_APP_UPDATE root get_apks.sh" > /etc/cron.d/get_new_apks
/etc/init.d/cron start