mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
Deprecated exit code 5 and corrcted cronwrapper and enhanced README (#148)
* Deprecated exit code 5 and corrcted cronwrapper and enhanced README - plexupdate.sh will consider no new version as success - cronwrapper will not print anything unless it truly fails - README.md updated to provide more details about .plexupdate * Moved text from README.md to wiki and added notifyonreturn to cron * Removed overthought part
This commit is contained in:
parent
044ff5f132
commit
440de0cfe5
3 changed files with 11 additions and 11 deletions
|
@ -24,7 +24,6 @@
|
|||
# 2 if file already downloaded
|
||||
# 3 if page layout has changed.
|
||||
# 4 if download fails
|
||||
# 5 if version already installed
|
||||
# 6 if update was deferred due to usage
|
||||
#
|
||||
# All other return values not documented.
|
||||
|
@ -563,7 +562,7 @@ fi
|
|||
|
||||
if [[ $FILENAME == *$INSTALLED_VERSION* ]] && [ "${FORCE}" != "yes" -a "${FORCEALL}" != "yes" ] && [ ! -z "${INSTALLED_VERSION}" ]; then
|
||||
info "Your OS reports the latest version of Plex ($INSTALLED_VERSION) is already installed. Use -f to force download."
|
||||
exit 5
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -f "${DOWNLOADDIR}/${FILENAME}" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue