Update plexupdate.sh

This commit is contained in:
Devin Slick 2015-10-23 19:58:21 -05:00
commit 6ccfc08bd2

View file

@ -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