summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsh/upd2
1 files changed, 1 insertions, 1 deletions
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`