mixlib-install 3.12.28 → 3.12.29

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: 92e948dd67aaf9f9ac49530be49484aa599747fa591c9ac8dfed7e51f8d3e696
4
+ data.tar.gz: a4096ef9b71a04a2346ec43ab78a24b0abe6d2d5f6e4f987fc620bc2a135647e
5
5
  SHA512:
6
- metadata.gz: 8be70f423ccb25157d5422370c28d550dd93b2cdf69cb65e283ff3adcf4d645c107b757ac68385465a1dc5b3a4c1a9ea67aaad919d8b3f7a6cf5cf5d04395588
7
- data.tar.gz: 15bb241026bf9d30554f821e3edf60639af2cc7f347bdb8ae52417abc1cb94d32c2ae84c94aad295ad2632be1c8b2b3ca045de9def961bafa09b3cc8a80e7824
6
+ metadata.gz: ee8131db16c5faeba9e3557e6bf2a7bcbcb96f11378beb4164eb7f4d654a99a7f3cf1e36f746d3e42507560c2e4b881a5f7a51c7fd80658e83b47f25bbf9ec04
7
+ data.tar.gz: 84d046f4ba71a20a6ee9fbc6f0e125bce5fc1c03735884c75dbe6ac00868f422aac1530071747cea0e4c9ac7c851f5a1cec0faecbb0d09c59704d486d8aa5aae
@@ -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.29"
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.29
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-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout