fix(style): double quote vars, remove unnecessary empty check
This commit is contained in:
parent
329346d460
commit
0f945f9b63
2
neofetch
2
neofetch
|
@ -243,7 +243,7 @@ get_model() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
if [[ $(kextstat | grep "FakeSMC") != "" ]]; then
|
if [[ "$(kextstat | grep "FakeSMC")" ]]; then
|
||||||
model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
|
model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
|
||||||
else
|
else
|
||||||
model="$(sysctl -n hw.model)"
|
model="$(sysctl -n hw.model)"
|
||||||
|
|
Reference in New Issue