From db32a20458c85382e34d41f382dccfd0ebcdc4ce Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 17 Feb 2019 21:38:50 +0000 Subject: [PATCH] etc/profile.d/sys.sh --- etc/profile.d/sys.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index e0e86737..e5837484 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -23,6 +23,7 @@ sys_os() { ) fi #[ -r /etc/debian_version ] && echo Debian $(cat /etc/debian_version) && return + echo $(sw_vers 2>/dev/null | awk -F':\t' '/^(ProductName|ProductVersion)/{print $2}' | head -2) && return } sys_date_install() { -- 2.47.3