mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 19:16:42 +01:00
10 lines
182 B
Bash
10 lines
182 B
Bash
|
#!/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 "$@"
|