diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index 88f53a9ca387ae854e8105957963a7977a7ede3d..849ab5a92afd6d3154f6985940f45c5ea1f431ca 100755 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -599,12 +599,14 @@ function install_data() { } function install_connector() { - [ -d "${script_dir}/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}/ || echo "failed to copy connector" + fi } function install_examples() { if [ -d ${script_dir}/examples ]; then - ${csudo}cp -rf ${script_dir}/examples/* ${install_main_dir}/examples + ${csudo}cp -rf ${script_dir}/examples/* ${install_main_dir}/examples || echo "failed to copy examples" fi }