mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 21:03:19 -07:00
Update installer for Synology DSM7 support
This commit is contained in:
parent
ade4ddfeae
commit
23ce261e9b
1 changed files with 6 additions and 3 deletions
|
@ -44,8 +44,11 @@ check_distro() {
|
|||
DISTRO="debian"
|
||||
DISTRO_INSTALL="apt-get install"
|
||||
elif [ -f /etc/synoinfo.conf ]; then
|
||||
DISTRO="synology"
|
||||
DISTRO_INSTALL="synopkg install"
|
||||
DISTRO="synology"
|
||||
if grep -q "major=\"7\"" /etc/VERSION; then
|
||||
DISTRO="synology-dsm7"
|
||||
fi
|
||||
DISTRO_INSTALL="synopkg install"
|
||||
else
|
||||
DISTRO="unknown"
|
||||
fi
|
||||
|
@ -186,7 +189,7 @@ configure_plexupdate() {
|
|||
AUTODELETE=yes
|
||||
|
||||
[ -z "$DISTRO" ] && check_distro
|
||||
if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" ]; then
|
||||
if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" -o "$DISTRO" == "synology-dsm7" ]; then
|
||||
AUTOSTART=yes
|
||||
else
|
||||
AUTOSTART=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue