Refactor to make more general

This commit is contained in:
2026-03-19 23:57:36 -04:00
parent 2523ab8a28
commit b693daec8b
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
use: pikaur
upgrade: true
aur_only: true
- import_tasks: ../tasks/aur_rebuild.yml
- import_tasks: aur_rebuild.yml
vars:
package_pattern: python
when:

View File

@@ -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