From c2dd83e749eea3d692696561d720e959e328ff3d Mon Sep 17 00:00:00 2001
From: Xiao Pan <gky44px1999@gmail.com>
Date: Sat, 2 Mar 2024 02:03:29 -0800
Subject: fix: see `man pacman`, multiple ignore packages need to be seperate
 by comma

---
 sh/upd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sh/upd')

diff --git a/sh/upd b/sh/upd
index 678f0de..c180741 100755
--- a/sh/upd
+++ b/sh/upd
@@ -145,7 +145,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.
 	rustup update
-	aurout="$(paru --color never --noconfirm -aSu --ignore libredwg-git alacritty-git | tee /dev/tty)"
+	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`
 	# notes about awk f=1 things see https://git.flylightning.xyz/public_archive_codes/tree/sh/mrt
-- 
cgit v1.2.3-70-g09d2