Rename an old variable left by mistake.
This commit is contained in:
committed by
Abhilash Raj
parent
770bfb7dac
commit
aa2b8788a6
@@ -125,7 +125,7 @@ fi
|
|||||||
# domain to the defined domain.
|
# domain to the defined domain.
|
||||||
if [[ -v SERVE_FROM_DOMAIN ]];
|
if [[ -v SERVE_FROM_DOMAIN ]];
|
||||||
then
|
then
|
||||||
echo "Setting $MAILMAN_DEFAULT_DOMAIN as the default domain ..."
|
echo "Setting $SERVE_FROM_DOMAIN as the default domain ..."
|
||||||
python manage.py shell -c \
|
python manage.py shell -c \
|
||||||
"from django.contrib.sites.models import Site; Site.objects.filter(domain='example.com').update(domain='$SERVE_FROM_DOMAIN')"
|
"from django.contrib.sites.models import Site; Site.objects.filter(domain='example.com').update(domain='$SERVE_FROM_DOMAIN')"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user