diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-01-16 09:34:37 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-01-16 09:34:37 -0800 |
commit | 74844fdcad8504321c3502a6a218881ed6c75437 (patch) | |
tree | b48f7284ed99e99a7790c1f9a45414488214ab7e /upd | |
parent | 36a1911b5309a72bf520756fe93e64435a56094f (diff) |
paru bug reguression workaround, paru not working well with `grep -m1` in the new version, paru seems exit after grep find the match
Diffstat (limited to 'upd')
-rwxr-xr-x | upd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |