From 74844fdcad8504321c3502a6a218881ed6c75437 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 16 Jan 2024 09:34:37 -0800 Subject: paru bug reguression workaround, paru not working well with `grep -m1` in the new version, paru seems exit after grep find the match --- upd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upd') diff --git a/upd b/upd index 9d99d7a..5133008 100755 --- a/upd +++ b/upd @@ -137,7 +137,7 @@ pac () { pacpacs="$(sudo pacman --noconfirm -Syu | tee /dev/tty | grep -m1 '^Packages' | cut -d' ' -f3-)" # Update rust toolchains before paru so paru can compile things in newest rust if needed. rustup update - aurpacs="$(paru --color never --noconfirm -aSu --ignore libredwg-git | tee /dev/tty | grep -m1 '^Aur' | cut -d' ' -f3-)" + aurpacs="$(paru --color never --noconfirm -aSu --ignore libredwg-git | tee /dev/tty | grep '^Aur' | cut -d' ' -f3-)" # part steal from aur comment # sometimes "ERROR: Failure while downloading": https://github.com/neovim/neovim/issues/15709 # echo 1, printf 1 and yes 1 all works? not sure why -- cgit v1.2.3-70-g09d2