Fix kernel update detection again

This commit is contained in:
Daniele Fucini
2024-07-14 18:39:42 +02:00
parent 4dc94c48ed
commit ee6248c2ca
+1 -1
View File
@@ -8,7 +8,7 @@ fi
arch_updates=$(checkupdates | wc -l) arch_updates=$(checkupdates | wc -l)
aur_updates=$(aur repo -u -d aur-local | wc -l) aur_updates=$(aur repo -u -d aur-local | wc -l)
kernel_update=$(checkupdates | grep linux | grep -v custom | wc -l) kernel_update=$(checkupdates | grep linux | grep -v custom | grep -v archlinux | grep -v api | grep -v firmware | wc -l)
updates=$(($arch_updates + $aur_updates)) updates=$(($arch_updates + $aur_updates))