diff options
Diffstat (limited to 'entrypoint.sh')
-rw-r--r-- | entrypoint.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/entrypoint.sh b/entrypoint.sh index 0b7cd24..6b96f94 100644 --- a/entrypoint.sh +++ b/entrypoint.sh | |||
@@ -1,7 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | while true; do echo n; done | cp -Ri /www/default-assets/* /www/assets/ | 3 | while true; do echo n; done | cp -Ri /www/default-assets/* /www/assets/ |
4 | 4 | # This makes sure that at least the default config is available. | |
5 | yes n | cp -i /www/assets/config.yml.dist /www/assets/config.yml | ||
5 | # Ensure compatibility with previous version (config.yml was in the root directory) | 6 | # Ensure compatibility with previous version (config.yml was in the root directory) |
6 | if [ -f "/www/config.yml" ]; then | 7 | if [ -f "/www/config.yml" ]; then |
7 | yes n | cp -i /www/config.yml /www/assets | 8 | yes n | cp -i /www/config.yml /www/assets |