0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-21 11:06:09 +02:00

Update docker-entrypoint.sh

This commit is contained in:
Shane Davidson 2021-08-25 10:20:21 +10:00 committed by GitHub
parent 19b90524ab
commit c17c054684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
done done
rsync $rsync_options --include '/version.php' --exclude '/*' /usr/src/nextcloud/ /var/www/html/ rsync $rsync_options --include '/version.php' --exclude '/*' /usr/src/nextcloud/ /var/www/html/
if [ "$(id -u)" = 0 ]; then if [ "$(id -u)" = 0 ]; then
chown -R www-data:root /var/www/html chown www-data:root /var/www/html/*
fi fi
echo "Initializing finished" echo "Initializing finished"