fix pacman call
Problem
Non-English system configurations will run into problems with former approach "yes | pacman ..."
Simply added a --noconfirm and --needed (to not reinstall packages present) instead of the existing statement. The -y added should be baseline since it renews the listings and prevents failures due to old lists.
Type of PR
- [x] Bugfix
- [ ] Feature implementation
- [ ] Refactor of code (without functional changes)
- [ ] Documentation improvements
- [ ] Test improvements
CLA
👍
Wellp, I just tried it. It works... but I failed to intercept it in time to prevent a kernel and driver upgrade from piggybacking.
I don't think the --noconfirm is wise on Arch or Manjaro (nor, perhaps, was yes)
With problems i meant breakage as they would need a translated 'yes'.
Anyhow, how do you get a kernel update with this?
It seems to have behaved like a -Syu, but I can't see why.