aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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 0813a6b70..f8f1d1ee5 100755
--- a/bin/install-as-user
+++ b/bin/install-as-user
@@ -113,6 +113,11 @@ if [ ! -f conf/general.yml ]; then
echo $DONE_MSG
fi
+echo "Installing required Perl modules - this may take some time"
+cd "$REPOSITORY"
+bin/install_perl_modules
+echo $DONE_MSG
+
# Create the database if it doesn't exist:
echo -n "Setting up database... "
if ! psql -l | egrep "^ *$DB_NAME *\|" > /dev/null
@@ -127,11 +132,6 @@ else
fi
echo $DONE_MSG
-echo "Installing required Perl modules - this may take some time"
-cd "$REPOSITORY"
-bin/install_perl_modules
-echo $DONE_MSG
-
# Generate po and mo files (these invocations taken from Kagee's script):
echo "Creating locale .mo files"
bin/cron-wrapper bin/make_po FixMyStreet-EmptyHomes