From 8f1feacf875ba299fa415ab6927320409359b0fd Mon Sep 17 00:00:00 2001 From: Baitinq <30861839+Baitinq@users.noreply.github.com> Date: Sun, 5 Jul 2020 00:40:38 +0200 Subject: [PATCH] Removed the --devel flag from archupdates --- modules/archupdates | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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