This commit is contained in:
2023-03-25 14:39:28 -05:00
parent 01367ad370
commit ca9fa05da3
2 changed files with 3 additions and 1 deletions

View File

@@ -637,6 +637,8 @@ UPDATESERVICE(){
/bin/tar czpfP $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
/usr/bin/unzip -qq ${tmpfile} -d /opt/${usrvc^}
else
/bin/tar xfP ${tmpfile} -C /opt >> ${MMFOLDER}/logs/${usrvc}.update
fi