File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ suffix = case RbConfig::CONFIG['host_os']
4747 os . start_with? ( 'tuxedo_22.' ) ||
4848 os . start_with? ( 'linuxmint_22' )
4949
50- os = 'centos_6' if ( os . start_with? ( 'amzn_' ) && os != 'amzn_2' ) ||
50+ os = 'centos_6' if ( os . start_with? ( 'amzn_' ) && os != 'amzn_2' && os != 'amzn_2023' ) ||
5151 ( os . empty? && File . read ( '/etc/centos-release' ) . start_with? ( 'CentOS release 6' ) )
5252
5353 os = 'centos_7' if ( os . start_with? ( 'amzn_2' ) && !os . start_with? ( 'amzn_20' ) ) ||
@@ -56,7 +56,8 @@ suffix = case RbConfig::CONFIG['host_os']
5656 os = 'centos_8' if os . start_with? ( 'rocky_8' ) ||
5757 os . start_with? ( 'rhel_8.' ) ||
5858 os . start_with? ( 'ol_8.' ) ||
59- os . start_with? ( 'alinux_' )
59+ os . start_with? ( 'alinux_' ) ||
60+ os == 'amzn_2023'
6061
6162 os_based_on_debian_9 = os . start_with? ( 'debian_9' ) ||
6263 os . start_with? ( 'deepin' )
You can’t perform that action at this time.
0 commit comments