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

Added /bin/sh as prefix to NEXTCLOUD_CUSTOM_INSTALL_SCRIPT

prevents volumes from being mounted executable
This commit is contained in:
Martin Gerhardy 2020-10-05 18:13:35 +02:00
parent 81a090ab4a
commit cadff3e606
3 changed files with 3 additions and 3 deletions

View file

@ -170,7 +170,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
fi
if [ -n "${NEXTCLOUD_CUSTOM_INSTALL_SCRIPT+x}" ]; then
run_as "${NEXTCLOUD_CUSTOM_INSTALL_SCRIPT}"
run_as "/bin/sh ${NEXTCLOUD_CUSTOM_INSTALL_SCRIPT}"
fi
else
echo "running web-based installer on first connect!"