This commit is contained in:
2023-03-25 16:13:26 -05:00
parent 67612a7a09
commit 6134611b73
2 changed files with 3 additions and 2 deletions

View File

@@ -643,7 +643,8 @@ UPDATESERVICE(){
rm -Rf /opt/${usrvc^} >> ${MMFOLDER}/logs/${usrvc}.update
mkdir /opt/${usrvc^} >> ${MMFOLDER}/logs/${usrvc}.update
fi
/bin/tar czpfP $bak /opt/${usrvc^} >> ${MMFOLDER}/logs/${usrvc}.update
/bin/tar -cpPf $bak /opt/${usrvc^} >> ${MMFOLDER}/logs/${usrvc}.update
if [ "${usrvc}" == "ombi" ]; then
/bin/tar xfP ${tmpfile} -C /opt/${usrvc^} >> ${MMFOLDER}/logs/${usrvc}.update
elif [ "${usrvc}" == "bazarr" ]; then