Fix DSM 7 minor version check

This commit is contained in:
Geoff 2024-11-05 00:35:05 -08:00 committed by GitHub
commit 4cd0d0e0aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -314,7 +314,7 @@ if [ -z "${DISTRO_INSTALL}" ]; then
DISTRO="synology" DISTRO="synology"
if grep -q "major=\"7\"" /etc/VERSION; then if grep -q "major=\"7\"" /etc/VERSION; then
DISTRO="synology-dsm72" DISTRO="synology-dsm72"
if [ grep -q "minor=\"[01]\"" /etc/VERSION ]; then if grep -q "minor=\"[01]\"" /etc/VERSION; then
DISTRO="synology-dsm7" DISTRO="synology-dsm7"
fi fi
fi fi