summaryrefslogtreecommitdiff
path: root/sh/upd
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-20 22:49:26 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-03-20 22:49:26 -0700
commit741f9a2f7b5c8d384baf334e48db1aabe8c5b2ef (patch)
tree2d3e8bc5b2ee502b7f71d282c2828aa64f35a5f5 /sh/upd
parentdc240a7216c3b4d587f036e1efdd9897fc624a24 (diff)
ca no rustup to save storage
Diffstat (limited to 'sh/upd')
-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`