diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-03-20 22:49:26 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-03-20 22:49:26 -0700 |
commit | 741f9a2f7b5c8d384baf334e48db1aabe8c5b2ef (patch) | |
tree | 2d3e8bc5b2ee502b7f71d282c2828aa64f35a5f5 | |
parent | dc240a7216c3b4d587f036e1efdd9897fc624a24 (diff) |
ca no rustup to save storage
-rwxr-xr-x | sh/upd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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` |