mixlib-install 3.12.28 → 3.12.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a36e24499a4eb7ded3e3eb45ba8e6fed7422882bbb2bc718b7ec4229abeda538
4
- data.tar.gz: 2bf1fce0e5a4394f71cad3c4690bbd6266b93672503770d3e7656801e8556f55
3
+ metadata.gz: 97b6b9d6f612f1a8e4eb431feb24cd888fdcefbca693bd239a7d1435fc23b045
4
+ data.tar.gz: 3e3804a6ad0bcf92caa7dbb5ac440c4366223be9a25096dde560010f1b4d96d3
5
5
  SHA512:
6
- metadata.gz: 8be70f423ccb25157d5422370c28d550dd93b2cdf69cb65e283ff3adcf4d645c107b757ac68385465a1dc5b3a4c1a9ea67aaad919d8b3f7a6cf5cf5d04395588
7
- data.tar.gz: 15bb241026bf9d30554f821e3edf60639af2cc7f347bdb8ae52417abc1cb94d32c2ae84c94aad295ad2632be1c8b2b3ca045de9def961bafa09b3cc8a80e7824
6
+ metadata.gz: 2e3b09b0a7fb065568d81922529eb01714bbc0bdea1a6ca30734b4c2a1884287ea8144234263d636371ce372b3db2db9815b701ce9537bfe2e2b917f29a12587
7
+ data.tar.gz: b74d672d7f632e4ccabcf05af695c6529e5571c8c155ce197e46c9d1104c5ccd821cbbe04b8c4f471ff74a466cdbc2b6053a3f026c9cd535ad9e95004a446176
@@ -68,20 +68,25 @@ elif test -f "/etc/system-release"; then
68
68
  . /etc/os-release
69
69
  platform_version=$VERSION_ID
70
70
 
71
- if test "$platform_version" = "2022"; then
72
- platform="amazon"
73
- platform_version="2022"
74
- elif test "$platform_version" = "2"; then
75
- platform="el"
76
- platform_version="7"
77
- else
78
- platform="el"
79
-
80
- # VERSION_ID will match YYYY.MM for Amazon Linux AMIs
81
- platform_version="6"
82
- fi
71
+ case $platform_version in
72
+ "2022"|"2023")
73
+ platform="amazon"
74
+ platform_version=$platform_version
75
+ ;;
76
+ "2")
77
+ platform="el"
78
+ platform_version="7"
79
+ ;;
80
+ *)
81
+ platform="el"
82
+
83
+ # VERSION_ID will match YYYY.MM for Amazon Linux AMIs
84
+ platform_version="6"
85
+ ;;
86
+ esac
83
87
  esac
84
88
 
89
+
85
90
  # Apple macOS
86
91
  elif test -f "/usr/bin/sw_vers"; then
87
92
  platform="mac_os_x"
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.12.28"
3
+ VERSION = "3.12.30"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-install
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.28
4
+ version: 3.12.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-31 00:00:00.000000000 Z
12
+ date: 2024-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout