Nextcloud-Docker/9.0/apache/docker-entrypoint.sh

10 lines
182 B
Bash
Raw Normal View History

2017-01-21 15:22:59 +00:00
#!/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 "$@"