2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-11-16 03:19:26 +01:00

Using full repository url

This commit is contained in:
Philipp Holzer 2019-06-27 18:52:40 +02:00
parent 2f65ae8d70
commit 20d59aae26
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
7 changed files with 28 additions and 28 deletions

View file

@ -19,8 +19,8 @@ version_greater() {
clone_develop() { clone_develop() {
friendica_git="${FRIENDICA_VERSION}" friendica_git="${FRIENDICA_VERSION}"
addons_git="${FRIENDICA_ADDONS}" addons_git="${FRIENDICA_ADDONS}"
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}" friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}" friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
friendica_git="develop" friendica_git="develop"
@ -34,10 +34,10 @@ clone_develop() {
# Removing the whole directory first # Removing the whole directory first
rm -fr /usr/src/friendica rm -fr /usr/src/friendica
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica" sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
mkdir /usr/src/friendica/addon mkdir /usr/src/friendica/addon
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon" sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
echo "Download finished" echo "Download finished"

View file

@ -19,8 +19,8 @@ version_greater() {
clone_develop() { clone_develop() {
friendica_git="${FRIENDICA_VERSION}" friendica_git="${FRIENDICA_VERSION}"
addons_git="${FRIENDICA_ADDONS}" addons_git="${FRIENDICA_ADDONS}"
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}" friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}" friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
friendica_git="develop" friendica_git="develop"
@ -34,10 +34,10 @@ clone_develop() {
# Removing the whole directory first # Removing the whole directory first
rm -fr /usr/src/friendica rm -fr /usr/src/friendica
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica" sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
mkdir /usr/src/friendica/addon mkdir /usr/src/friendica/addon
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon" sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
echo "Download finished" echo "Download finished"

View file

@ -19,8 +19,8 @@ version_greater() {
clone_develop() { clone_develop() {
friendica_git="${FRIENDICA_VERSION}" friendica_git="${FRIENDICA_VERSION}"
addons_git="${FRIENDICA_ADDONS}" addons_git="${FRIENDICA_ADDONS}"
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}" friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}" friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
friendica_git="develop" friendica_git="develop"
@ -34,10 +34,10 @@ clone_develop() {
# Removing the whole directory first # Removing the whole directory first
rm -fr /usr/src/friendica rm -fr /usr/src/friendica
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica" sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
mkdir /usr/src/friendica/addon mkdir /usr/src/friendica/addon
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon" sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
echo "Download finished" echo "Download finished"

View file

@ -19,8 +19,8 @@ version_greater() {
clone_develop() { clone_develop() {
friendica_git="${FRIENDICA_VERSION}" friendica_git="${FRIENDICA_VERSION}"
addons_git="${FRIENDICA_ADDONS}" addons_git="${FRIENDICA_ADDONS}"
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}" friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}" friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
friendica_git="develop" friendica_git="develop"
@ -34,10 +34,10 @@ clone_develop() {
# Removing the whole directory first # Removing the whole directory first
rm -fr /usr/src/friendica rm -fr /usr/src/friendica
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica" sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
mkdir /usr/src/friendica/addon mkdir /usr/src/friendica/addon
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon" sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
echo "Download finished" echo "Download finished"

View file

@ -19,8 +19,8 @@ version_greater() {
clone_develop() { clone_develop() {
friendica_git="${FRIENDICA_VERSION}" friendica_git="${FRIENDICA_VERSION}"
addons_git="${FRIENDICA_ADDONS}" addons_git="${FRIENDICA_ADDONS}"
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}" friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}" friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
friendica_git="develop" friendica_git="develop"
@ -34,10 +34,10 @@ clone_develop() {
# Removing the whole directory first # Removing the whole directory first
rm -fr /usr/src/friendica rm -fr /usr/src/friendica
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica" sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
mkdir /usr/src/friendica/addon mkdir /usr/src/friendica/addon
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon" sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
echo "Download finished" echo "Download finished"

View file

@ -19,8 +19,8 @@ version_greater() {
clone_develop() { clone_develop() {
friendica_git="${FRIENDICA_VERSION}" friendica_git="${FRIENDICA_VERSION}"
addons_git="${FRIENDICA_ADDONS}" addons_git="${FRIENDICA_ADDONS}"
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}" friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}" friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
friendica_git="develop" friendica_git="develop"
@ -34,10 +34,10 @@ clone_develop() {
# Removing the whole directory first # Removing the whole directory first
rm -fr /usr/src/friendica rm -fr /usr/src/friendica
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica" sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
mkdir /usr/src/friendica/addon mkdir /usr/src/friendica/addon
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon" sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
echo "Download finished" echo "Download finished"

View file

@ -19,8 +19,8 @@ version_greater() {
clone_develop() { clone_develop() {
friendica_git="${FRIENDICA_VERSION}" friendica_git="${FRIENDICA_VERSION}"
addons_git="${FRIENDICA_ADDONS}" addons_git="${FRIENDICA_ADDONS}"
friendica_repo="${FRIENDICA_REPOSITORY:-friendica}" friendica_repo="${FRIENDICA_REPOSITORY:-friendica/friendica}"
friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica}" friendica_addons_repo="${FRIENDICA_ADDONS_REPO:-friendica/friendica-addons}"
if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then if echo "{$friendica_git,,}" | grep -Eq '^.*\-dev'; then
friendica_git="develop" friendica_git="develop"
@ -34,10 +34,10 @@ clone_develop() {
# Removing the whole directory first # Removing the whole directory first
rm -fr /usr/src/friendica rm -fr /usr/src/friendica
sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo}/friendica /usr/src/friendica" sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica"
mkdir /usr/src/friendica/addon mkdir /usr/src/friendica/addon
sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo}/friendica-addons /usr/src/friendica/addon" sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon"
echo "Download finished" echo "Download finished"