This commit is contained in:
Luk
2026-02-07 15:08:00 +08:00
parent c8cd6ebd8e
commit aaff2c0a5f

View File

@@ -128,7 +128,7 @@ esac
if [ "$(uname)" = "Darwin" ]; then
MYOSVERSION=Mac`sw_vers -productVersion`
elif [ "$(uname)" = "FreeBSD" ]; then
MYOSVERSION=$(echo "$(freebsd_version)" | cut -d'-' -f1)
MYOSVERSION=$(echo "$(uname -r)" | cut -d'-' -f1)
elif [ -f /etc/debian_version ]; then
MYOSVERSION=Deb`cat /etc/debian_version 2>/dev/null`
elif [ -f /etc/ubuntu_version ]; then