sspatch: fix

This commit is contained in:
AuxXxilium 2024-10-25 22:56:34 +02:00
parent 6fb653cab3
commit 2242bf7db0

View File

@ -18,7 +18,7 @@ function copy_file() {
chown SurveillanceStation:SurveillanceStation "${target}/${file}" chown SurveillanceStation:SurveillanceStation "${target}/${file}"
chmod "${mode}" "${target}/${file}" chmod "${mode}" "${target}/${file}"
else else
if [ "${file}" == "ssrtmpclientd" ]; then if [ "${file}" == "ssrtmpclientd" ] || [ "${file}" == "libssutils.org.so" ]; then
echo "sspatch: ${file} not found, skipping" echo "sspatch: ${file} not found, skipping"
return 0 return 0
else else
@ -96,4 +96,4 @@ if [ -d "${SSPATH}" ]; then
/usr/syno/bin/synopkg restart SurveillanceStation /usr/syno/bin/synopkg restart SurveillanceStation
fi fi
exit 0 exit 0