Give a user a mediagoblin.ini if they don't have one

This commit is contained in:
Christopher Allan Webber 2014-10-09 19:14:59 -05:00
parent 5e73017f3f
commit ba12976d1a

View File

@ -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