Commit 0f945f9b authored by LER0ever's avatar LER0ever

fix(style): double quote vars, remove unnecessary empty check

parent 329346d4
...@@ -243,7 +243,7 @@ get_model() { ...@@ -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)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment