From 848f56c9af8e387970fb6a4c3f5a6002179e29c1 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 14 Jun 2019 21:51:30 -0400 Subject: [PATCH] dont repeat code --- extras/installer.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extras/installer.sh b/extras/installer.sh index e7df4c8..fe249b2 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -184,9 +184,7 @@ configure_plexupdate() { AUTOINSTALL=yes [ -z "$DISTRO" ] && check_distro - if [ "$DISTRO" == "redhat" ]; then - AUTOSTART=yes - elif [ "$DISTRO" == "synology" ]; then + if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" ]; then AUTOSTART=yes else AUTOSTART=