0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-02-28 12:44:55 +01:00

fix: move glob change outside the loop

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2024-11-26 17:01:14 -05:00 committed by GitHub
parent db577ce536
commit 2a7d6d8937
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,8 +243,8 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
DOMAIN=$(echo "${DOMAIN}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') DOMAIN=$(echo "${DOMAIN}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
run_as "php /var/www/html/occ config:system:set trusted_domains $NC_TRUSTED_DOMAIN_IDX --value=\"${DOMAIN}\"" run_as "php /var/www/html/occ config:system:set trusted_domains $NC_TRUSTED_DOMAIN_IDX --value=\"${DOMAIN}\""
NC_TRUSTED_DOMAIN_IDX=$((NC_TRUSTED_DOMAIN_IDX+1)) NC_TRUSTED_DOMAIN_IDX=$((NC_TRUSTED_DOMAIN_IDX+1))
set +f # turn glob back on
done done
set +f # turn glob back on
fi fi
run_path post-installation run_path post-installation