Refactor to make more general
This commit is contained in:
@@ -15,7 +15,7 @@ kernel_func () {
|
||||
fi
|
||||
if [[ "${current_kernel}" =~ ${next_kernel} ]]
|
||||
then
|
||||
if [[ -n "${next_ucode}" ]] && [[ "${current_ucode}" == ${next_ucode} ]]
|
||||
if [[ -n "${next_ucode}" ]] && [[ "${current_ucode}" == ${next_ucode} ]] || [[ -z ${intel_ucode} ]];
|
||||
then
|
||||
print -P "[%F{#00ff00}OK%f]"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user