diff --git a/sspatch/all/usr/bin/sspatch.sh b/sspatch/all/usr/bin/sspatch.sh index fa2d78c..3ad6599 100755 --- a/sspatch/all/usr/bin/sspatch.sh +++ b/sspatch/all/usr/bin/sspatch.sh @@ -11,7 +11,7 @@ function copy_file() { local file="${2}" local input="${3}" local mode="${4}" - if [ -f "${input}/${file}" ]; then + if [ -f "${input}/${file}" ] && [ -f "${target}/${file}" ]; then echo "sspatch: Copying ${file} to ${target}" cp -vf "${input}/${file}" "${target}/${file}" chown SurveillanceStation:SurveillanceStation "${target}/${file}" @@ -82,7 +82,7 @@ if [ -d "${SSPATH}" ]; then copy_file ${SSPATH}/sbin ssexechelperd ${PATCHPATHSS} 0755 copy_file ${SSPATH}/sbin ssroutined ${PATCHPATHSS} 0755 copy_file ${SSPATH}/sbin ssmessaged ${PATCHPATHSS} 0755 - copy_file ${SSPATH}/sbin ssrtmpclientd ${PATCHPATHSS} 0755 + # copy_file ${SSPATH}/sbin ssrtmpclientd ${PATCHPATHSS} 0755 fi sleep 5 diff --git a/sspatch/all/usr/lib/sspatch-3221.tgz b/sspatch/all/usr/lib/sspatch-3221.tgz index 6f9afaf..9184689 100644 Binary files a/sspatch/all/usr/lib/sspatch-3221.tgz and b/sspatch/all/usr/lib/sspatch-3221.tgz differ diff --git a/sspatch/all/usr/lib/sspatch-openvino.tgz b/sspatch/all/usr/lib/sspatch-openvino.tgz index f58f756..d37c7f8 100644 Binary files a/sspatch/all/usr/lib/sspatch-openvino.tgz and b/sspatch/all/usr/lib/sspatch-openvino.tgz differ diff --git a/sspatch/all/usr/lib/sspatch.tgz b/sspatch/all/usr/lib/sspatch.tgz index 532b70e..205726d 100644 Binary files a/sspatch/all/usr/lib/sspatch.tgz and b/sspatch/all/usr/lib/sspatch.tgz differ