We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ade4ddf commit 23ce261Copy full SHA for 23ce261
1 file changed
extras/installer.sh
@@ -44,8 +44,11 @@ check_distro() {
44
DISTRO="debian"
45
DISTRO_INSTALL="apt-get install"
46
elif [ -f /etc/synoinfo.conf ]; then
47
- DISTRO="synology"
48
- DISTRO_INSTALL="synopkg install"
+ DISTRO="synology"
+ if grep -q "major=\"7\"" /etc/VERSION; then
49
+ DISTRO="synology-dsm7"
50
+ fi
51
+ DISTRO_INSTALL="synopkg install"
52
else
53
DISTRO="unknown"
54
fi
@@ -186,7 +189,7 @@ configure_plexupdate() {
186
189
AUTODELETE=yes
187
190
188
191
[ -z "$DISTRO" ] && check_distro
- if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" ]; then
192
+ if [ "$DISTRO" == "redhat" -o "$DISTRO" == "synology" -o "$DISTRO" == "synology-dsm7" ]; then
193
AUTOSTART=yes
194
195
AUTOSTART=
0 commit comments