From 6ccfc08bd242c5c5e36040a4af669f4c0b717860 Mon Sep 17 00:00:00 2001 From: Devin Slick Date: Fri, 23 Oct 2015 19:58:21 -0500 Subject: [PATCH] Update plexupdate.sh --- plexupdate.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plexupdate.sh b/plexupdate.sh index e845e81..68306b5 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -320,7 +320,7 @@ if [ "${AUTOSTART}" == "yes" ]; then sudo service plexmediaserver start fi -if [ "${AUTOSTART}" == "yes" then +if [ "${AUTOSTART}" == "yes"]; then if [ "${REDHAT}" == "no" ]; then echo "The AUTOSTART [-s] option may not be needed on your distribution." fi @@ -328,8 +328,7 @@ if [ "${AUTOSTART}" == "yes" then if [ $? -ne 0 ]; then echo "Error: You need to be root to use autoinstall option." exit 1 - fi - if [ "${REDHAT}" == "no" ]; then + elif [ "${REDHAT}" == "no" ]; then echo "The AUTOSTART [-s] option may not be needed on your distribution." fi sudo service plexmediaserver start