From aaff2c0a5fd7a5186ce613b2c80047f8fbb7388e Mon Sep 17 00:00:00 2001 From: Luk Date: Sat, 7 Feb 2026 15:08:00 +0800 Subject: [PATCH] u --- nixhome/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixhome/.bashrc b/nixhome/.bashrc index 02db3d2..3826aa3 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -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