Refactor to make more general
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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