diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-02 05:53:05 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-02 05:53:05 -0800 |
commit | 4f6052d8d8bd3d64d395e7849a31183371040eb8 (patch) | |
tree | b73ddb7a666dcc758f976812273f5afb8ddd110f | |
parent | 6159edcebbcb1c230113e18788a676035979a4c8 (diff) |
Apply xopher's fix to add 'sitetype' parameter to setup_status_network.sh, exposed to the email
-rwxr-xr-x | scripts/setup_status_network.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/setup_status_network.sh b/scripts/setup_status_network.sh index 4ad808011..bacf3c3e7 100755 --- a/scripts/setup_status_network.sh +++ b/scripts/setup_status_network.sh @@ -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" \ |