summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-01 16:08:21 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-03-01 16:08:21 -0800
commit7444bf903de6b9a051ed29d599d8b1277adc87aa (patch)
tree33ddda02b884723bc34ad8d32937648f0dbfc2eb /sh
parentc013ef11f7a7e473326b27edb9b462d6617d8287 (diff)
fix
Diffstat (limited to 'sh')
-rwxr-xr-xsh/upd4
1 files changed, 2 insertions, 2 deletions
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