From 92e1cda84a7c6ac43b946be18e5cbea913a1c36f Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 5 Mar 2006 07:58:12 +0000 Subject: [PATCH] fixed some spelling errors su does not have a -l parameter under Gentoo, Debian and Solaris but using only - is ok on any distribution --- setup/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/index.php b/setup/index.php index 6acaf55e0a..41e28be060 100644 --- a/setup/index.php +++ b/setup/index.php @@ -209,11 +209,11 @@ $setup_tpl->parse('V_db_stage_1','B_db_stage_1'); break; case 'pgsql': - $ip = $info['db_host'] == 'localhsot' ? '127.0.01' : '<ip-address webserver>'; + $ip = $info['db_host'] == 'localhost' ? '127.0.0.1' : '<ip-address webserver>'; $setup_tpl->set_var('instr', ''.lang('Instructions for creating the database in %1:','PostgreSQL').'' . '
'.lang('Login as user postgres, eg. by using su as root') - . "
[root@server /root]# su -l postgres
" + . "
[root@server /root]# su - postgres
" . lang('Create the empty database and grant user permissions -') . "
[postgres@server /var/lib/pgsql]# createuser --no-adduser --no-createdb -P " . $info['db_user'] . "" . "
Enter password for new user: " . $info['db_pass'] . ""