summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-08-07 15:25:55 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-08-07 15:25:55 +0800
commit5c407df7ebb64778f0a4a55afada66b7fc8d7502 (patch)
tree28bef3e2933ffe8db067c7cec48b471689178faf /sh
parent3271058cc89a3a70b974a517e9f61b78b7b04ab0 (diff)
upd paru try --review see if auto confirm review
paru without --noconfirm seems will first ask me to review PKGBUILD changes or not, then ask me to accept the changes or not. I would like to try to make it to auto confirm to review it, then I manually choose to accept it or not. Not sure if --review option will work as I exptected or not, need tests.
Diffstat (limited to 'sh')
-rwxr-xr-xsh/upd2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/upd b/sh/upd
index 687798c..8df3d34 100755
--- a/sh/upd
+++ b/sh/upd
@@ -219,7 +219,7 @@ 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)"
+ aurout="$(paru --color never --review -aSu | 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`
# notes about awk f=1 things see https://git.flylightning.xyz/public_archive_codes/tree/sh/mrt