mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -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
|
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=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue