From: Brion Vibber Date: Wed, 27 Jan 2010 23:37:18 +0000 (-0800) Subject: add additional post-install shell script option for setup_status_network.sh to do... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7a5471287598902d4fefbb93f1247d8c025e66b;p=quix0rs-gnu-social.git add additional post-install shell script option for setup_status_network.sh to do any other site-specific setup --- diff --git a/scripts/setup.cfg.sample b/scripts/setup.cfg.sample index a0f10b3528..f247a3bcae 100644 --- a/scripts/setup.cfg.sample +++ b/scripts/setup.cfg.sample @@ -15,3 +15,4 @@ export PHPBASE=/var/www/statusnet export WILDCARD=example.net export MAILTEMPLATE=/etc/statusnet/newsite-mail.txt export MAILSUBJECT="Your new StatusNet site" +export POSTINSTALL=/etc/statusnet/morestuff.sh diff --git a/scripts/setup_status_network.sh b/scripts/setup_status_network.sh index d468df3aeb..ae392191f1 100755 --- a/scripts/setup_status_network.sh +++ b/scripts/setup_status_network.sh @@ -72,3 +72,9 @@ then else echo "No mail template, not sending email." fi + +if [ -f "$POSTINSTALL" ] +then + echo "Running $POSTINSTALL ..." + source "$POSTINSTALL" +fi