0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-05 22:04:58 +01:00
nextcloud-docker/9.0/fpm/docker-entrypoint.sh
2017-01-21 15:22:59 +00:00

9 lines
182 B
Bash
Executable file

#!/bin/bash
set -e
if [ ! -e '/var/www/html/version.php' ]; then
tar cf - --one-file-system -C /usr/src/nextcloud . | tar xf -
chown -R www-data /var/www/html
fi
exec "$@"