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

@@ -41,7 +41,7 @@ MM_UPDATE_REPO['ombi']='Ombi-app'
MM_UPDATE_REPO['radarr']='radarr'
MM_UPDATE_REPO['lidarr']='lidarr'
MM_UPDATE_REPO['jackett']='jackett'
# MM_UPDATE_REPO['bazarr']='morpheus65535'
MM_UPDATE_REPO['bazarr']='morpheus65535'
declare -A MM_UPDATE_REPO_GREP
MM_UPDATE_REPO_GREP['ombi']='linux-x64'

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