Merge pull request #485 from konimex/master
Kernel: Modify how kernel_shorthand works in BSDs
This commit is contained in:
commit
9a0a996f89
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -273,7 +273,7 @@ get_kernel() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Hardcode kernel settings in BSDs
|
# Hardcode kernel settings in BSDs
|
||||||
if [[ "$os" == "BSD" && ! "$distro" =~ (PacBSD|PCBSD) ]]; then
|
if [[ "$os" == "BSD" && "$distro" =~ "$kernel_name" ]]; then
|
||||||
case "$distro_shorthand" in
|
case "$distro_shorthand" in
|
||||||
"on" | "tiny") kernel="$kernel_version" ;;
|
"on" | "tiny") kernel="$kernel_version" ;;
|
||||||
*) unset kernel ;;
|
*) unset kernel ;;
|
||||||
|
|
Loading…
Reference in a new issue