Skip to content

Commit

Permalink
Merge pull request #996 from predominant/master
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Jan 27, 2021
2 parents 44f1303 + 960e0d2 commit 8b2c6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omnibus/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def platform_shortname
# rubocop:disable Lint/DuplicateCaseCondition
def truncate_platform_version(platform_version, platform)
case platform
when "centos", "debian", "el", "fedora", "freebsd", "omnios", "pidora", "raspbian", "rhel", "sles", "suse", "smartos"
when "centos", "cumulus", "debian", "el", "fedora", "freebsd", "omnios", "pidora", "raspbian", "rhel", "sles", "suse", "smartos"
# Only want MAJOR (e.g. Debian 7, OmniOS r151006, SmartOS 20120809T221258Z)
platform_version.split(".").first
when "aix", "alpine", "mac_os_x", "openbsd", "slackware", "solaris2", "opensuse", "opensuseleap", "ubuntu", "amazon"
Expand Down

0 comments on commit 8b2c6e6

Please sign in to comment.