Removed the --devel flag from archupdates

This commit is contained in:
Baitinq 2020-07-05 00:40:38 +02:00 committed by GitHub
parent 472ee9b149
commit 8f1feacf87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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