fix packaging issue

This commit is contained in:
Ping Xiao 2023-07-18 10:19:13 +08:00
parent 2822245a37
commit 6e80b2b4a3
1 changed files with 3 additions and 1 deletions

View File

@ -267,7 +267,9 @@ function install_log() {
}
function install_connector() {
${csudo}cp -rf ${script_dir}/connector/ ${install_main_dir}/
if [ -d ${script_dir}/connector ]; then
${csudo}cp -rf ${script_dir}/connector/ ${install_main_dir}/
fi
}
function install_examples() {