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:
parent
19b90524ab
commit
c17c054684
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue