Refactor to make more general
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
use: pikaur
|
use: pikaur
|
||||||
upgrade: true
|
upgrade: true
|
||||||
aur_only: true
|
aur_only: true
|
||||||
- import_tasks: ../tasks/aur_rebuild.yml
|
- import_tasks: aur_rebuild.yml
|
||||||
vars:
|
vars:
|
||||||
package_pattern: python
|
package_pattern: python
|
||||||
when:
|
when:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ kernel_func () {
|
|||||||
fi
|
fi
|
||||||
if [[ "${current_kernel}" =~ ${next_kernel} ]]
|
if [[ "${current_kernel}" =~ ${next_kernel} ]]
|
||||||
then
|
then
|
||||||
if [[ -n "${next_ucode}" ]] && [[ "${current_ucode}" == ${next_ucode} ]]
|
if [[ -n "${next_ucode}" ]] && [[ "${current_ucode}" == ${next_ucode} ]] || [[ -z ${intel_ucode} ]];
|
||||||
then
|
then
|
||||||
print -P "[%F{#00ff00}OK%f]"
|
print -P "[%F{#00ff00}OK%f]"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user