diff options
-rwxr-xr-x | lazystarter.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lazystarter.sh b/lazystarter.sh index 6358f47c..286baeb6 100755 --- a/lazystarter.sh +++ b/lazystarter.sh @@ -98,6 +98,14 @@ else exit 1 fi +# If the user somehow doesn't have a mediagoblin.ini +# (maybe they aren't using make) give them one +if [ -f mediagoblin.example.ini ] && \ + [ ! -f mediagoblin.ini ]; then + echo "No mediagoblin.ini found, making one"; + cp --no-clobber mediagoblin.example.ini mediagoblin.ini; +fi + set -x export CELERY_ALWAYS_EAGER=true case "$selfname" in |