mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-21 05:43:20 -07:00
dont repeat code
This commit is contained in:
parent
2c91c80a58
commit
848f56c9af
1 changed files with 1 additions and 3 deletions
|
@ -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=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue