From: Christopher Allan Webber Date: Fri, 10 Oct 2014 00:14:59 +0000 (-0500) Subject: Give a user a mediagoblin.ini if they don't have one X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ba12976d1afdbfe0e53a7dbac598963c0ff64d19;p=mediagoblin.git Give a user a mediagoblin.ini if they don't have one --- 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