From f25b1a9a55fd9e61b19d073fe8426cc2aac3c0ef Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 5 Apr 2013 19:10:24 +0000 Subject: Whack build environment with a club to get rpki-ca package to start up properly after install on Ubuntu. Some cleanup still required, rpki-ca cron stuff isn't done yet, and GUI has not yet been tested with this, but daemons now start up properly upon install as an Ubuntu user would expect, which is some kind of progress. svn path=/trunk/; revision=5283 --- rpkid/portal-gui/scripts/rpki-manage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpkid/portal-gui/scripts/rpki-manage.py') diff --git a/rpkid/portal-gui/scripts/rpki-manage.py b/rpkid/portal-gui/scripts/rpki-manage.py index 7bf84709..0d581ce9 100644 --- a/rpkid/portal-gui/scripts/rpki-manage.py +++ b/rpkid/portal-gui/scripts/rpki-manage.py @@ -4,8 +4,8 @@ import os from django.core.management import execute_from_command_line # django-admin seems to have problems creating the superuser account when -# $LANG is unset -if not 'LANG' in os.environ: +# $LANG is unset or is set to something totally incompatible with UTF-8. +if os.environ.get('LANG') in (None, "", "C"): os.environ['LANG'] = 'en_US.UTF-8' os.environ['DJANGO_SETTINGS_MODULE'] = 'rpki.gui.default_settings' -- cgit v1.2.3