0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-17 00:24:47 +02:00

Allow custom script execution on installation

This commit is contained in:
Martin Gerhardy 2020-10-05 18:10:07 +02:00
parent 5e0d2b2b79
commit 81a090ab4a
4 changed files with 16 additions and 0 deletions

View file

@ -168,6 +168,10 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
NC_TRUSTED_DOMAIN_IDX=$(($NC_TRUSTED_DOMAIN_IDX+1))
done
fi
if [ -n "${NEXTCLOUD_CUSTOM_INSTALL_SCRIPT+x}" ]; then
run_as "${NEXTCLOUD_CUSTOM_INSTALL_SCRIPT}"
fi
else
echo "running web-based installer on first connect!"
fi