From fb3981bb04b35039ae43209e311eb7df225bac99 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 17 Jun 2013 20:16:31 -0700 Subject: [PATCH] Set the site profile on install --- scripts/install_cli.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install_cli.php b/scripts/install_cli.php index dadbcf66f0..3e18f28f3e 100755 --- a/scripts/install_cli.php +++ b/scripts/install_cli.php @@ -82,7 +82,9 @@ class CliInstaller extends Installer '--admin-nick' => 'adminNick', '--admin-pass' => 'adminPass', '--admin-email' => 'adminEmail', - '--admin-updates' => 'adminUpdates' + '--admin-updates' => 'adminUpdates', + + '--site-profile' => 'siteProfile' ); foreach ($map as $arg => $target) { if (substr($arg, 0, 2) == '--') { @@ -170,6 +172,8 @@ install_cli.php - StatusNet command-line installer --admin-updates 'yes' (default) or 'no', whether to subscribe admin to update@status.net (default yes) + --site-profile site profile ['public', 'private' (default), 'community', 'singleuser'] + --skip-config Don't write a config.php -- use with caution, requires a global configuration file.