]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Apply xopher's fix to add 'sitetype' parameter to setup_status_network.sh, exposed...
authorBrion Vibber <brion@pobox.com>
Tue, 2 Feb 2010 13:53:05 +0000 (05:53 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 2 Feb 2010 13:53:05 +0000 (05:53 -0800)
scripts/setup_status_network.sh

index 4ad808011c8c5f8a89ebb97bd3142aba0cccfbb3..bacf3c3e7f5ad3eec0c982912233b131feef16ed 100755 (executable)
@@ -13,6 +13,11 @@ export sitename="$2"
 export tags="$3"
 export email="$4"
 export fullname="$5"
+export sitetype="$6"
+
+if [ "$sitetype" == '' ]; then
+    sitetype='single-user'
+fi
 
 # Fixme: if this is changed later we need to update profile URLs
 # for the created user.
@@ -71,6 +76,7 @@ then
       sed "s/\$nickname/$nickname/" | \
       sed "s/\$sitename/$sitename/" | \
       sed "s/\$userpass/$userpass/" | \
+      sed "s/\$sitetype/$sitetype/" | \
       php $PHPBASE/scripts/sendemail.php \
         -s"$server" \
         -n"$nickname" \