mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 04:49:34 -07:00
Detect Synology 7.2+
This commit is contained in:
parent
86c1d9b88e
commit
1557355f36
1 changed files with 4 additions and 1 deletions
|
@ -313,7 +313,10 @@ if [ -z "${DISTRO_INSTALL}" ]; then
|
||||||
elif [ -f /etc/synoinfo.conf ]; then
|
elif [ -f /etc/synoinfo.conf ]; then
|
||||||
DISTRO="synology"
|
DISTRO="synology"
|
||||||
if grep -q "major=\"7\"" /etc/VERSION; then
|
if grep -q "major=\"7\"" /etc/VERSION; then
|
||||||
DISTRO="synology-dsm7"
|
DISTRO="synology-dsm72"
|
||||||
|
if [ grep -q "minor=\"[01]\"" /etc/VERSION ]; then
|
||||||
|
DISTRO="synology-dsm7"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
DISTRO_INSTALL="synopkg install"
|
DISTRO_INSTALL="synopkg install"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue