mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-17 08:34:48 +02:00
Allow custom script execution on installation
This commit is contained in:
parent
5e0d2b2b79
commit
81a090ab4a
4 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue