aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install-as-user
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-01-26 18:13:55 +0100
committerMarius Halden <marius.h@lden.org>2015-01-26 18:13:55 +0100
commit1c5c685d0b0904e7ddc6e764e58e8fae08632d1d (patch)
tree559d5fddb743c1c083e23c9a3831efea92a240cb /bin/install-as-user
parent84de1b811a219c41adbdcc8b65851320a77e98f7 (diff)
parent04117b8be30b5d82d50cdc047ac4e7c19864f8ed (diff)
Merge tag 'v1.5.3' into fiksgatami-dev
Diffstat (limited to 'bin/install-as-user')
-rwxr-xr-xbin/install-as-user9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/install-as-user b/bin/install-as-user
index ebff69ed2..0e1c151fb 100755
--- a/bin/install-as-user
+++ b/bin/install-as-user
@@ -65,6 +65,7 @@ if [ ! "$DEVELOPMENT_INSTALL" = true ]; then
sed -i \
-e 's,$FMS,'"$REPOSITORY,g" \
-e 's,$LOCK_DIR,'"$DIRECTORY,g" \
+ -e 's,$UNIX_USER,'"$UNIX_USER,g" \
"$TEMPORARY_CRONTAB"
crontab $TEMPORARY_CRONTAB
echo $DONE_MSG
@@ -126,15 +127,15 @@ then
psql -U "$UNIX_USER" "$DB_NAME" < "$REPOSITORY"/db/alert_types.sql
psql -U "$UNIX_USER" "$DB_NAME" < "$REPOSITORY"/db/generate_secret.sql
else
- bin/cron-wrapper update-schema --commit
+ bin/update-schema --commit
fi
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
-bin/cron-wrapper bin/make_emptyhomes_welsh_po
+bin/make_po FixMyStreet-EmptyHomes
+bin/emptyhomes/make_welsh_po
commonlib/bin/gettext-makemo FixMyStreet
echo $DONE_MSG
-bin/cron-wrapper update-all-reports
+bin/update-all-reports