diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2026-08-22 11:32:08 +0800 |
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2026-08-22 11:32:08 +0800 |
| commit | 17df8f6f77fe4baa7bfe317c52fcbd966fcaa9fb (patch) | |
| tree | dd8f36101c85fc1e2ee100bb5f4b6069f4420e3f /sh | |
| parent | 770df2d100d7640c3862b310534b8c81f220c3c7 (diff) | |
Diffstat (limited to 'sh')
| -rwxr-xr-x | sh/upd | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -249,7 +249,11 @@ pac () { pacpacs="$(echo "$pacout" | grep -m1 '^Packages' | cut -d' ' -f3-)" # Update rust toolchains before paru so paru can compile things in newest rust if needed. [ "$hostname" = xyzinsp ] && rustup update - aurout="$(paru --color never -aSu | tee /dev/tty)" + if [ "$hostname" = xyzpp ]; then + aurout="$(paru --color never --mflags -A -aSu | tee /dev/tty)" + else + aurout="$(paru --color never -aSu | tee /dev/tty)" + fi 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 |
