Skip to content

Commit

Permalink
fix s06 rule
Browse files Browse the repository at this point in the history
  • Loading branch information
m-1-k-3 committed Oct 10, 2024
1 parent 0498b14 commit 79a683b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/S06_distribution_identification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ get_csv_rule_distri() {
### handle versions of linux distributions:
# debian 9 (stretch) - installer build 20170615+deb9u5
VERSION_IDENTIFIER="$(safe_echo "${VERSION_IDENTIFIER}" | sed -r 's/(debian) [0-9]+\ \([a-z]+\)\ -\ installer\ build\ [0-9]+\+deb([0-9]+)u([0-9])/:\1:\1_linux:\2\.\3/')"
# debian 9
VERSION_IDENTIFIER="$(safe_echo "${VERSION_IDENTIFIER}" | sed -r 's/^(debian) ([0-9]+(\.[0-9]+)+?)$/:\1:\1_linux:\2/')"
# Fedora 17 (Beefy Miracle)
VERSION_IDENTIFIER="$(safe_echo "${VERSION_IDENTIFIER}" | sed -r 's/(fedora)\ ([0-9]+).*/:\1project:\1:\2/')"
# CentOS
Expand Down

0 comments on commit 79a683b

Please sign in to comment.