summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-03 11:53:54 -0500
committerEvan Prodromou <evan@status.net>2010-02-03 11:53:54 -0500
commit20953ea3de18eb596984cb4105d3eee71494f2f1 (patch)
tree845f41bc6cef6a80a7b079bf755985c47e580b0c /scripts
parent6215b9788c8d1f523d4d173ecf40f185bd024bca (diff)
parent51c3606715573d8cea3c79ff7bc989a4ba86acc5 (diff)
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/setup_status_network.sh6
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" \