0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-05 08:24:10 +02:00

feat: Allow custom script execution on installation

This commit is contained in:
loxeno 2022-01-26 21:28:04 +01:00
parent a9af37b1ec
commit 78db690d10
11 changed files with 44 additions and 0 deletions

View file

@ -174,6 +174,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 "/bin/sh ${NEXTCLOUD_CUSTOM_INSTALL_SCRIPT}"
fi
else
echo "running web-based installer on first connect!"
fi