void-linux / void-linux/void-packages
Automatically detect `XBPS_SUCMD` if not set
Open
@paper42 is already working on this.
Since Jan 12, 2023.
enhancement
xbps-src
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
XBPS_SUCMD is used for example for build updates with update-sys. Currently it's set to sudo sh -c in etc/defaults.conf, but we could comment it out and automatically detect common privilege escalation tools - sudo, doas, su (?).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.