diff options
author | Mark Longair <mhl@pobox.com> | 2012-10-04 14:38:52 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2012-10-04 16:02:02 +0100 |
commit | 61bfbbe92a3225869520dbcb32f35069431fa84e (patch) | |
tree | 51ca99071b8c06cc6824ac31a977e58312d158b8 /bin/install-as-user | |
parent | 7c92dfdbb9502fcbf7a7e15342cc492cf1b4efea (diff) |
Generate .po files before installing Perl modules
This is just because the latter step is slow and much more
likely to fail, so we should make sure that as much of the
rest of the installation is done beforehand.
Diffstat (limited to 'bin/install-as-user')
-rwxr-xr-x | bin/install-as-user | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/install-as-user b/bin/install-as-user index 4757090aa..49d7a4553 100755 --- a/bin/install-as-user +++ b/bin/install-as-user @@ -113,14 +113,14 @@ then psql -U "$UNIX_USER" "$DB_NAME" < "$FMS_REPOSITORY"/db/generate_secret.sql fi -# Install the required Perl modules - this may take a very long time: - -cd "$FMS_REPOSITORY" -bin/install_perl_modules - # Generate po and mo files (these invocations taken from Kagee's script): ./bin/cron-wrapper ./bin/make_emptyhomes_po ./bin/cron-wrapper ./bin/make_emptyhomes_welsh_po commonlib/bin/gettext-makemo FixMyStreet + +# Install the required Perl modules - this may take a very long time: + +cd "$FMS_REPOSITORY" +bin/install_perl_modules |