diff --git a/additional_install.sh b/additional_install.sh index e9aacb9..76736fb 100755 --- a/additional_install.sh +++ b/additional_install.sh @@ -4,8 +4,18 @@ if [ "$SERVICE_DIR" == "" ]; then SERVICE_DIR="/etc/user/config/services"; fi; +GIT_REPO=$GIT_REPO +if [ "$GIT_REPO" == "" ]; then + GIT_REPO=git.format.hu +fi + +ORGANIZATION=$ORGANIZATION +if [ "$ORGANIZATION" == "" ]; then + ORGANIZATION=format +fi + if [[ "$NEXTCLOUD" == "yes" ]]; then - echo "Nextcloud install has started"; + echo "Nextcloud install has started from ssh://$GIT_REPO/$ORGANIZATION/nextcloud.git"; git clone ssh://$GIT_REPO/$ORGANIZATION/nextcloud.git /tmp/nextcloud sed -i "s/DOMAIN_NAME/$NEXTCLOUD_DOMAIN/g" /tmp/nextcloud/nextcloud-secret.json @@ -22,7 +32,7 @@ if [[ "$NEXTCLOUD" == "yes" ]]; then fi; if [[ "$BITWARDEN" == "yes" ]]; then - echo "Bitwarden install has started"; + echo "Bitwarden install has started from ssh://$GIT_REPO/$ORGANIZATION/bitwarden.git"; git clone ssh://$GIT_REPO/$ORGANIZATION/bitwarden.git /tmp/bitwarden