mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-22 02:22:53 +00:00
Removed the --devel flag from archupdates
This commit is contained in:
parent
472ee9b149
commit
8f1feacf87
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
# Prints out the number of pacman updates (Arch Linux)
|
# Prints out the number of pacman updates (Arch Linux)
|
||||||
# Requires an internet connection
|
# Requires an internet connection
|
||||||
# Depends on yay and checkupdates (pacman-contrib)
|
# Depends on yay and checkupdates (pacman-contrib)
|
||||||
|
# Optional: add --devel flag to the yay cmd to check for *-git package updates.
|
||||||
|
|
||||||
PREFIX=' Updates: '
|
PREFIX=' Updates: '
|
||||||
|
|
||||||
|
@ -12,7 +13,7 @@ get_updates()
|
||||||
updates_arch=0
|
updates_arch=0
|
||||||
fi
|
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
|
updates_aur=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue