From cc9ee5cf44f9289a71a43207729527b6bfbdd03e Mon Sep 17 00:00:00 2001 From: myellen Date: Thu, 13 Jun 2019 03:09:10 -0400 Subject: [PATCH] Add message to add plex certificate in error --- plexupdate.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plexupdate.sh b/plexupdate.sh index 5dc2e4e..84ce866 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -493,6 +493,9 @@ if [ "${AUTOINSTALL}" = "yes" ]; then if [ ${RET} -ne 0 ]; then # Clarify why this failed, so user won't be left in the dark error "Failed to install update. Command '${DISTRO_INSTALL} "${DOWNLOADDIR}/${FILENAME}"' returned error code ${RET}" + if [ "${DISTRO}" = "synology" -a ${RET} -eq 1 ]; then + info "On Synology devices, you need to add Plex's public key to Package Center. If you have not done so, follow the instructions at \033[0;34mhttps://support.plex.tv/articles/205165858-how-to-add-plex-s-package-signing-public-key-to-synology-nas-package-center/\033[0m" + fi exit ${RET} fi fi