This commit is contained in:
2023-06-16 06:33:51 +00:00
parent f7707e6e42
commit 406938f4cd

View File

@@ -4,7 +4,7 @@ if [ "$SERVICE_DIR" == "" ]; then
SERVICE_DIR="/etc/user/config/services";
fi;
if [[ "$NEXTCLOUD" == "YES" ]]; then
if [[ "$NEXTCLOUD" == "yes" ]]; then
git clone ssh://$GIT_REPO/$ORGANIZATION/nextcloud.git /tmp/nextcloud
sed -i "s/DOMAIN_NAME/$NEXTCLOUD_DOMAIN/g" /tmp/nextcloud/nextcloud-secret.json
sed -i "s/USERNAME/$NEXTCLOUD_USERNAME/g" /tmp/nextcloud/nextcloud-secret.json
@@ -19,7 +19,7 @@ if [[ "$NEXTCLOUD" == "YES" ]]; then
cp -rv /tmp/nextcloud/firewall-nextcloud-server-smtp.json $SERVICE_DIR/nextcloud-secret.json;
fi;
if [[ "$BITWARDEN" == "YES" ]]; then
if [[ "$BITWARDEN" == "yes" ]]; then
git clone ssh://$GIT_REPO/$ORGANIZATION/bitwarden.git /tmp/bitwarden
BITWARDEN_TOKEN=$(openssl rand -base64 48);