From adf54b9ae9f055569fbdbdaffaabae55fc319fd4 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Sat, 20 Aug 2011 17:22:54 +0300 Subject: [PATCH] fixed missing template name for pgsql --- bin/v_add_db_host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v_add_db_host b/bin/v_add_db_host index dd4cac63..5c2da0e2 100755 --- a/bin/v_add_db_host +++ b/bin/v_add_db_host @@ -60,7 +60,7 @@ case $type in new_str="$new_str MAX_DB='$max_db' U_SYS_USERS=''"; new_str="$new_str U_DB_BASES='0' ACTIVE='yes' DATE='$V_DATE'";; pgsql) new_str="HOST='$host' USER='$db_user' PASSWORD='$db_password'"; - new_str="$new_str PORT='$port' TPL='$tpl'"; + new_str="$new_str PORT='$port' TPL='$template'"; new_str="$new_str MAX_USERS='$max_usr' MAX_DB='$max_db'"; new_str="$new_str U_SYS_USERS=''"; new_str="$new_str U_DB_BASES='0' ACTIVE='yes' DATE='$V_DATE'";;