lol babby's first regex error

This commit is contained in:
Luke Smith 2019-01-04 23:08:49 -05:00
parent f2d056cb85
commit 954d110d25
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252
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"