[TS-345]<hotfix>: fix install_clien.sh for Darwin installing script (#7897)

This commit is contained in:
Zhiyu Yang 2021-09-13 19:21:58 +08:00 committed by GitHub
parent 2fbaf13729
commit 0d3f08f5ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -129,7 +129,11 @@ function install_lib() {
${csudo} ln -s ${lib_link_dir}/libtaos.1.dylib ${lib_link_dir}/libtaos.dylib
fi
if [ "$osType" != "Darwin" ]; then
${csudo} ldconfig
else
${csudo} update_dyld_shared_cache
fi
}
function install_header() {