Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: kwlib: Use an array to handle the distro family
We are expanding the set of distros supported by kw; as a result, the detect_distro was implemented in a way that is hard to expand the set of the supported distro. This commit adds an array per distro family to address this problem, where each element represents a specific derivative distro. Signed-off-by: Rodrigo Siqueira <siqueirajordao@riseup.net>
- Loading branch information
1 parent
b5236cf
commit be0b499
Showing
1 changed file
with
16 additions
and
17 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