aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install-as-user
diff options
context:
space:
mode:
Diffstat (limited to 'bin/install-as-user')
-rwxr-xr-xbin/install-as-user10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/install-as-user b/bin/install-as-user
index 46dbcb65e..a4d656cf5 100755
--- a/bin/install-as-user
+++ b/bin/install-as-user
@@ -98,14 +98,14 @@ then
psql -U "$UNIX_USER" "$DB_NAME" < "$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