mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
Removed redundant if, added sudo to service cmd
This commit is contained in:
parent
9cb98c2853
commit
3408308c9d
1 changed files with 2 additions and 2 deletions
|
@ -314,10 +314,10 @@ if [ "${AUTODELETE}" == "yes" ]; then
|
|||
fi
|
||||
|
||||
if [ "${AUTOSTART}" == "yes" ]; then
|
||||
if [ "${REDHAT}" == "no" ]; if [ "${AUTOINSTALL}" == "yes" ]; then
|
||||
if [ "${REDHAT}" == "no" ]; then
|
||||
echo "The AUTOSTART [-s] option may not be needed on your distribution."
|
||||
fi
|
||||
service plexmediaserver start
|
||||
sudo service plexmediaserver start
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue