sspatch: path fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-31 14:17:54 -04:00
parent 93031ee8e3
commit fe5c591953

View File

@ -53,13 +53,13 @@ if [ "${1}" = "late" ]; then
# Check Sha256sum for Patch
if [ "$(sha256sum ${SSPATH}/lib/libssutils.so | cut -d' ' -f1)" = "b0fafefe820aa8ecd577313dff2ae22cf41a6ddf44051f01670c3b92ee04224d" ]; then
tar -zxf "${INPUTPATH}/sspatch.tgz" -C "${ADDONSPATH}/"
copy_file ${SSPATH}/lib libssutils.so ${ADDONSPATH}/ 0644
copy_file ${SSPATH}/sbin sscmshostd ${ADDONSPATH}/ 0755
copy_file ${SSPATH}/sbin sscored ${ADDONSPATH}/ 0755
copy_file ${SSPATH}/sbin ssdaemonmonitord ${ADDONSPATH}/ 0755
copy_file ${SSPATH}/sbin ssexechelperd ${ADDONSPATH}/ 0755
copy_file ${SSPATH}/sbin ssroutined ${ADDONSPATH}/ 0755
copy_file ${SSPATH}/sbin ssrtmpclientd ${ADDONSPATH}/ 0755
copy_file ${SSPATH}/lib libssutils.so ${ADDONSPATH} 0644
copy_file ${SSPATH}/sbin sscmshostd ${ADDONSPATH} 0755
copy_file ${SSPATH}/sbin sscored ${ADDONSPATH} 0755
copy_file ${SSPATH}/sbin ssdaemonmonitord ${ADDONSPATH} 0755
copy_file ${SSPATH}/sbin ssexechelperd ${ADDONSPATH} 0755
copy_file ${SSPATH}/sbin ssroutined ${ADDONSPATH} 0755
copy_file ${SSPATH}/sbin ssrtmpclientd ${ADDONSPATH} 0755
fi
fi
elif [ "${1}" = "uninstall" ]; then