Improvements to system-update.sh#54
Conversation
- Use AUR helper (-Qud/-Qua) for update checking when available - Fall back to checkupdates only when no helper is found (AUR_UPD=0) - Simplify update_packages() to use helper or pacman exclusively - Update header comments and README with helper documentation
- Add set -o pipefail to capture helper exit status through pipelines - Add get_ignored_pkgs() to parse IgnorePkg from /etc/pacman.conf - Add filter_ignored() to exclude ignored packages from update counts - Update check_updates() to pipe helper output through filter_ignored - Fix false failure when all packages are filtered (grep exit code 1) - Initialize HELPER variable to prevent unbound variable errors
|
Hi, I just have a few things to say. First, I didn't know that Second, I see that you want to merge these commits into the Lastly, it might be better to focus on one thing at a time. Maybe we could focus on filtering ignored packages first. Thanks! |
|
Hello, Thank you for your response. Your readme about installation details that if you are using waybar v°.14, you should use the |
|
After looking into it again, I’d say these commits are actually good improvements. Since |
|
I'll see what I can do. Meanwhile, there are pending PRs on |
Hello,
This fix contains two improvements :
checkupdatesif you are using a helper (paru, etc.). (Install script not modified though)