Kernel: Stop function when OS = AIX
This commit is contained in:
parent
79ef172623
commit
8a3981bf92
3
neofetch
3
neofetch
|
@ -304,6 +304,9 @@ get_title() {
|
||||||
}
|
}
|
||||||
|
|
||||||
get_kernel() {
|
get_kernel() {
|
||||||
|
# Since AIX is an integrated system, it's better to skip this function altogether
|
||||||
|
[[ "$os" == "AIX" ]] && return
|
||||||
|
|
||||||
case "$kernel_shorthand" in
|
case "$kernel_shorthand" in
|
||||||
"on") kernel="$kernel_version" ;;
|
"on") kernel="$kernel_version" ;;
|
||||||
"off") kernel="$kernel_name $kernel_version" ;;
|
"off") kernel="$kernel_name $kernel_version" ;;
|
||||||
|
|
Reference in New Issue