From 741f9a2f7b5c8d384baf334e48db1aabe8c5b2ef Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 20 Mar 2024 22:49:26 -0700 Subject: ca no rustup to save storage --- sh/upd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/upd') diff --git a/sh/upd b/sh/upd index c92957b..b722d09 100755 --- a/sh/upd +++ b/sh/upd @@ -157,7 +157,7 @@ pac () { pacout="$(sudo pacman --noconfirm -Syu | 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 + [ "$hostname" != xyzca ] && rustup update aurout="$(paru --color never --noconfirm -aSu --ignore libredwg-git,alacritty-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` -- cgit v1.2.3-70-g09d2