1
0
mirror of https://github.com/x86dev/docker-ttrss synced 2025-12-15 19:06:06 +00:00

Added environment variable TTRSS_GIT_TAG to specify a TT-RSS release tag to use specifically instead of using the rolling release model.

This commit is contained in:
x86dev
2017-07-13 17:57:15 +02:00
parent 3390c14b05
commit 3cbb67e680
2 changed files with 13 additions and 1 deletions

View File

@@ -5,6 +5,11 @@ TTRSS_PATH=/var/www/ttrss
update_ttrss()
{
if [ -n "$TTRSS_GIT_TAG" ]; then
echo "Updating Tiny Tiny RSS disabled (using tag '$TTRSS_GIT_TAG')"
return
fi
echo "Updating: Tiny Tiny RSS"
( cd ${TTRSS_PATH} && git pull origin HEAD )