Removed then on elif

This commit is contained in:
Devin Slick 2015-10-23 19:53:36 -05:00
commit a619b1221e

View file

@ -328,7 +328,7 @@ if [ "${AUTOSTART}" == "yes" then
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Error: You need to be root to use autoinstall option." echo "Error: You need to be root to use autoinstall option."
exit 1 exit 1
elif [ "${REDHAT}" == "no" ]; then elif [ "${REDHAT}" == "no" ];
echo "The AUTOSTART [-s] option may not be needed on your distribution." echo "The AUTOSTART [-s] option may not be needed on your distribution."
fi fi
sudo service plexmediaserver start sudo service plexmediaserver start