setup-ttrss.sh: Fixed cloning TT-RSS repo, renaming TTRSS_REPO to TTRSS_REPO_URL.
This commit is contained in:
parent
8c2fe770bd
commit
ab7dc0eeae
@ -43,8 +43,8 @@ setup_nginx()
|
|||||||
|
|
||||||
setup_ttrss()
|
setup_ttrss()
|
||||||
{
|
{
|
||||||
if [ -z "$TTRSS_REPO" ]; then
|
if [ -z "$TTRSS_REPO_URL" ]; then
|
||||||
TTRSS_HOST=https://git.tt-rss.org/git/tt-rss.git
|
TTRSS_REPO_URL=https://git.tt-rss.org/git/tt-rss.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$TTRSS_PATH" ]; then
|
if [ -z "$TTRSS_PATH" ]; then
|
||||||
@ -57,11 +57,11 @@ setup_ttrss()
|
|||||||
echo "Setup: Setting up Tiny Tiny RSS '$TTRSS_GIT_TAG' ..."
|
echo "Setup: Setting up Tiny Tiny RSS '$TTRSS_GIT_TAG' ..."
|
||||||
cd ${TTRSS_PATH}
|
cd ${TTRSS_PATH}
|
||||||
git init .
|
git init .
|
||||||
git fetch --depth=1 $TTRSS_REPO refs/tags/${TTRSS_GIT_TAG}:refs/tags/${TTRSS_GIT_TAG}
|
git fetch --depth=1 ${TTRSS_REPO_URL} refs/tags/${TTRSS_GIT_TAG}:refs/tags/${TTRSS_GIT_TAG}
|
||||||
git checkout tags/${TTRSS_GIT_TAG}
|
git checkout tags/${TTRSS_GIT_TAG}
|
||||||
else
|
else
|
||||||
echo "Setup: Setting up Tiny Tiny RSS (latest revision) ..."
|
echo "Setup: Setting up Tiny Tiny RSS (latest revision) ..."
|
||||||
git clone --depth=1 $TTRSS_REPO ${TTRSS_PATH}
|
git clone --depth=1 ${TTRSS_REPO_URL} ${TTRSS_PATH}
|
||||||
fi
|
fi
|
||||||
git clone --depth=1 https://github.com/sepich/tt-rss-mobilize.git ${TTRSS_PATH}/plugins/mobilize
|
git clone --depth=1 https://github.com/sepich/tt-rss-mobilize.git ${TTRSS_PATH}/plugins/mobilize
|
||||||
git clone --depth=1 https://github.com/hrk/tt-rss-newsplus-plugin.git ${TTRSS_PATH}/plugins/api_newsplus
|
git clone --depth=1 https://github.com/hrk/tt-rss-newsplus-plugin.git ${TTRSS_PATH}/plugins/api_newsplus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user