add additional post-install shell script option for setup_status_network.sh to do any other site-specific setup

This commit is contained in:
Brion Vibber 2010-01-27 15:37:18 -08:00
parent 06cd335897
commit e7a5471287
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -72,3 +72,9 @@ then
else
echo "No mail template, not sending email."
fi
if [ -f "$POSTINSTALL" ]
then
echo "Running $POSTINSTALL ..."
source "$POSTINSTALL"
fi