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="debian"
|
||||||
DISTRO_INSTALL="apt-get install"
|
DISTRO_INSTALL="apt-get install"
|
||||||
elif [ -f /etc/synoinfo.conf ]; then
|
elif [ -f /etc/synoinfo.conf ]; then
|
||||||
DISTRO="synology"
|
DISTRO="synology"
|
||||||
DISTRO_INSTALL="synopkg install"
|
if grep -q "major=\"7\"" /etc/VERSION; then
|
||||||
|
DISTRO="synology-dsm7"
|
||||||
|
fi
|
||||||
|
DISTRO_INSTALL="synopkg install"
|
||||||
else
|
else
|
||||||
DISTRO="unknown"
|
DISTRO="unknown"
|
||||||
fi
|
fi
|
||||||
|
@ -186,7 +189,7 @@ configure_plexupdate() {
|
||||||
AUTODELETE=yes
|
AUTODELETE=yes
|
||||||
|
|
||||||
[ -z "$DISTRO" ] && check_distro
|
[ -z "$DISTRO" ] && check_distro
|
||||||
if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" ]; then
|
if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" -o "$DISTRO" == "synology-dsm7" ]; then
|
||||||
AUTOSTART=yes
|
AUTOSTART=yes
|
||||||
else
|
else
|
||||||
AUTOSTART=
|
AUTOSTART=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue