aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install-as-user
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2015-01-15 15:33:21 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2015-01-19 16:35:37 +0000
commit8e6d48d5ee351594fc92f1e680ba4a2219ed57ca (patch)
treea32bdde6047f357663883a995393a945e1dadff2 /bin/install-as-user
parent96dd07e7c1dab2c8f9250af435caad2c2818b5a2 (diff)
Remove need for cron-wrapper with existing scripts
Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
Diffstat (limited to 'bin/install-as-user')
-rwxr-xr-xbin/install-as-user8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/install-as-user b/bin/install-as-user
index 33a74c140..0e1c151fb 100755
--- a/bin/install-as-user
+++ b/bin/install-as-user
@@ -127,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/emptyhomes/make_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