lol babby's first regex error

This commit is contained in:
Luke Smith 2019-01-04 23:08:49 -05:00
parent e3a4c5a5d6
commit 6b9dd70f29
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ sudo pacman -Syyuw --noconfirm || notify-send "Error downloading updates.
Check your internet connection, if pacman is already running, or run update manually to see errors."
pkill -RTMIN+8 i3blocks
if pacman -Qu | grep -v "[ignored]"
if pacman -Qu | grep -v "\[ignored\]"
then
notify-send -i "$PIX/larbs.gif" "Package updates available. Click statusbar icon (📦) for update."
else

View file

@ -16,4 +16,4 @@ case $BLOCK_BUTTON in
esac
pacman -Qu | grep -v "[ignored]" | wc -l | sed -e "s/^0$//g"
pacman -Qu | grep -v "\[ignored\]" | wc -l | sed -e "s/^0$//g"