forked from openGauss-Ecosystem/openGauss-server
修改了简化安装脚本中指定安装路径未生效的问题
This commit is contained in:
parent
8b1aaa44a4
commit
df0d59309f
|
@ -23,7 +23,10 @@ function fn_get_param()
|
|||
system_arch=`uname -p`
|
||||
system_name=`cat /etc/os-release | grep '^ID=".*' | grep -o -E '(openEuler|centos)'`
|
||||
install_tar="/home/$user_name/openGaussTar" #安装包所在路径(可修改)
|
||||
install_location="/opt/$user_name" #数据库安装位置(可修改)
|
||||
if [ ! $install_location ]
|
||||
then
|
||||
install_location="/opt/$user_name" #数据库安装位置(可修改)
|
||||
fi
|
||||
}
|
||||
|
||||
function fn_prase_input_param()
|
||||
|
|
Loading…
Reference in New Issue