mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
Update plexupdate.sh
This commit is contained in:
parent
e3a9c963ee
commit
6ccfc08bd2
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue