summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-02 02:03:29 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-03-02 02:03:29 -0800
commitc2dd83e749eea3d692696561d720e959e328ff3d (patch)
tree02eec5b76988668c71f31cc0aeba062d92aed380 /sh
parent554ac9c646d7abc18803fb15793e83d15af10267 (diff)
fix: see `man pacman`, multiple ignore packages need to be seperate by comma
Diffstat (limited to 'sh')
-rwxr-xr-xsh/upd2
1 files changed, 1 insertions, 1 deletions
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