From 7444bf903de6b9a051ed29d599d8b1277adc87aa Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 1 Mar 2024 16:08:21 -0800 Subject: fix --- sh/upd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh') diff --git a/sh/upd b/sh/upd index 8d710c2..c05078b 100755 --- a/sh/upd +++ b/sh/upd @@ -142,10 +142,10 @@ misc () { pac () { pacout="$(sudo pacman --noconfirm -Syu | tee /dev/tty)" - pacpacs="$(echo "$pacout" | grep -m1 '^Packages' | cut -d' ' -f3- | tee /dev/tty)" + pacpacs="$(echo "$pacout" | grep -m1 '^Packages' | cut -d' ' -f3-)" # Update rust toolchains before paru so paru can compile things in newest rust if needed. rustup update - aurout="$(paru --color never --noconfirm -aSu --ignore libredwg-git)" + aurout="$(paru --color never --noconfirm -aSu --ignore libredwg-git | tee /dev/tty)" aurpacs="$(echo "$aurout" | grep '^Aur' | cut -d' ' -f3-)" # /usr/share/libalpm/hooks/rebuild-detector.hook has a line `NeedsTargets` shows it maybe checkrebuild only upgraded packages by `printf 'zoom\nminiconda3' | checkrebuild` instead of maybe check all by `checkrebuild`, so I think query pacman hook will be faster than run another `checkrebuild` # notes about awk f=1 things see https://git.flylightning.xyz/public_archive_codes/tree/sh/mrt -- cgit v1.2.3-70-g09d2