修改了简化安装脚本中指定安装路径未生效的问题

This commit is contained in:
chendong76 2020-09-29 16:48:05 +08:00
parent 8b1aaa44a4
commit df0d59309f
1 changed files with 4 additions and 1 deletions

View File

@ -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()