diff --git a/modules/archupdates b/modules/archupdates index 9fd509b..d4cbc44 100755 --- a/modules/archupdates +++ b/modules/archupdates @@ -3,6 +3,7 @@ # Prints out the number of pacman updates (Arch Linux) # Requires an internet connection # Depends on yay and checkupdates (pacman-contrib) +# Optional: add --devel flag to the yay cmd to check for *-git package updates. PREFIX=' Updates: ' @@ -12,7 +13,7 @@ get_updates() updates_arch=0 fi - if ! updates_aur=$(yay -Qum --devel 2> /dev/null | wc -l); then + if ! updates_aur=$(yay -Qum 2> /dev/null | wc -l); then updates_aur=0 fi