diff --git a/bin/ghostbsd-version/ghostbsd-version.1 b/bin/ghostbsd-version/ghostbsd-version.1 index b827278bd8fe..989edc61fb61 100644 --- a/bin/ghostbsd-version/ghostbsd-version.1 +++ b/bin/ghostbsd-version/ghostbsd-version.1 @@ -46,7 +46,7 @@ Print the version FreeBSD OS. .It Fl k Print the version of the installed kernel. .It Fl o -Print the version of the installed os-generic-userland-base. +Print the version of the installed os-generic-userland-base package. .It Fl v Print the version of GhostBSD. .El diff --git a/bin/ghostbsd-version/ghostbsd-version.sh b/bin/ghostbsd-version/ghostbsd-version.sh index 6b69a6775721..faba05dec2e5 100644 --- a/bin/ghostbsd-version/ghostbsd-version.sh +++ b/bin/ghostbsd-version/ghostbsd-version.sh @@ -39,12 +39,8 @@ kernel_version() { } ghostbsd_version() { - if [ -f "/etc/version" ] ; then - version=$(cat /etc/version) - printf "%s\n" "$version" - else - pkg query '%v' os-generic-userland-base - fi + version=$(cat /etc/version) + printf "%s\n" "$version" } freebsd_version() {