-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to make it easier to maintain for packages (and distros) (#471)
* Try to make it easier to maintain for packages * Act on test results: we need the _pkgs suffix to identify distro * Act on self-review: be more specific in README * Act on test results: make sure build header appears before first entries * Simplify code for our specific use case The _apk, _rpm and _dpkg functions do an echo (they build a string) That string is used to both output what failed, but also be evaluated to probe for a given package install * Act on test results: further normalise ID string In RHEL the value is "rhel", with the quote (and since we're not sourcing the file, but parsing it, we need to do some extra work) * Act on self-review results: simplify probe code We're already, out of the functions, doing the /dev/null + 2>&1 dance * Act on test results: on rhel g++ is called gcc-c++ * Act on local tests: add missing Alpine/apk dep. automake * Act on local tests: go back to a more robust dpkg-query check * "Remove" opensuse package detection This appears to require zypper to be done, so can probably wait for community contribution to happen * Act on local test results: make commands easier to spot * Act on review comment: make true/false yes/no instead of 1/0 For readability purposes * Act on review comment: merge log sentences * Act on self-review: be consistent in writing
- Loading branch information
1 parent
04f209c
commit aad7ea3
Showing
2 changed files
with
135 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters