summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-01-16 09:34:37 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-01-16 09:34:37 -0800
commit74844fdcad8504321c3502a6a218881ed6c75437 (patch)
treeb48f7284ed99e99a7790c1f9a45414488214ab7e
parent36a1911b5309a72bf520756fe93e64435a56094f (diff)
paru bug reguression workaround, paru not working well with `grep -m1` in the new version, paru seems exit after grep find the match
-rwxr-xr-xupd2
1 files changed, 1 insertions, 1 deletions
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