dont repeat code

This commit is contained in:
Max 2019-06-14 21:51:30 -04:00
commit 848f56c9af
No known key found for this signature in database
GPG key ID: 0BDA73476CD8AB10

View file

@ -184,9 +184,7 @@ configure_plexupdate() {
AUTOINSTALL=yes AUTOINSTALL=yes
[ -z "$DISTRO" ] && check_distro [ -z "$DISTRO" ] && check_distro
if [ "$DISTRO" == "redhat" ]; then if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" ]; then
AUTOSTART=yes
elif [ "$DISTRO" == "synology" ]; then
AUTOSTART=yes AUTOSTART=yes
else else
AUTOSTART= AUTOSTART=