diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-03-01 16:08:21 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-03-01 16:08:21 -0800 |
commit | 7444bf903de6b9a051ed29d599d8b1277adc87aa (patch) | |
tree | 33ddda02b884723bc34ad8d32937648f0dbfc2eb | |
parent | c013ef11f7a7e473326b27edb9b462d6617d8287 (diff) |
fix
-rwxr-xr-x | sh/upd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |