]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add additional post-install shell script option for setup_status_network.sh to do...
authorBrion Vibber <brion@pobox.com>
Wed, 27 Jan 2010 23:37:18 +0000 (15:37 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 27 Jan 2010 23:37:18 +0000 (15:37 -0800)
scripts/setup.cfg.sample
scripts/setup_status_network.sh

index a0f10b35286065c2266e0d5a20b5c7ed7dcd2cd8..f247a3bcae0e6910eb709bfddee23fd61682014a 100644 (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
index d468df3aeb1e6ba24b79abe49dd1a6f89d3922f2..ae392191f1475d2c413790bdd58f6859610368e7 100755 (executable)
@@ -72,3 +72,9 @@ then
 else
     echo "No mail template, not sending email."
 fi
+
+if [ -f "$POSTINSTALL" ]
+then
+    echo "Running $POSTINSTALL ..."
+    source "$POSTINSTALL"
+fi