-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kpatch-build: simplify distro support
Refactor the rpm / deb distribution code using associative arrays (keyed by the distro short name, containing their longer description) and helper functions. Future distro support only needs to amend SUPPORTED_DEB_DISTROS / SUPPORTED_RPM_DISTROS array and provide any additional distribution specifics in the script. Code refactoring only, no functional change is introduced.
- Loading branch information
1 parent
032c8d2
commit fcf58ad
Showing
1 changed file
with
26 additions
and
14 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