mixlib-install 3.11.29 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 006754afaedd06447e88966584f2b51bf5cd3bd917dd66629759544d9675dbb5
4
- data.tar.gz: eecc05dd2be680e60adc4556a5d10316fe696b887c2d6dad542aa99093317bf3
3
+ metadata.gz: 255b0ec20084040971b925c55ff1586ca865a2f066e73f6749f44f031a14ba4e
4
+ data.tar.gz: 16b55819b5d47472cc3ded82b32ee91c72083226cb18bef8249cb9555237922f
5
5
  SHA512:
6
- metadata.gz: 1c7f33ab9dcb568d8ae5851a22ecd9d719f968f69914c9a960b0461c75807217431aa6b6db1ec05c94d7624a5d950c936605d97486de56576a5703e0ab637f3d
7
- data.tar.gz: 1345672da0b76fd6665a3e529c8aee8cb1160c8494c3335fa8f2de8012868e04d595ec3a26d488122c2c18085bd9f06cd9e736ae5490f7a689c1890de27f89df
6
+ metadata.gz: 07a46797a9bfe2ca99b9eab8c84915d92818fc198531fd38f56ba2e05df90cf0b4be273c9b871c147c2b1046f30eb6adc811061ef1e1c894fe17f9505307b488
7
+ data.tar.gz: 53988bdb309c9527902e5a7e92d2f0b072daf3f2df05ab927ede3f5b04b77c60692e148ce8aaacae0046e086eee1b361b0122184a4d1c9b627c5bf866e3738ea
@@ -71,7 +71,7 @@ elif test -f "/etc/system-release"; then
71
71
  fi
72
72
  esac
73
73
 
74
- # Apple OS X
74
+ # Apple macOS
75
75
  elif test -f "/usr/bin/sw_vers"; then
76
76
  platform="mac_os_x"
77
77
  # Matching the tab-space with sed is error-prone
@@ -96,7 +96,7 @@ elif test -f "/etc/SuSE-release"; then
96
96
  then
97
97
  platform="sles"
98
98
  platform_version=`awk '/^VERSION/ {V = $3}; /^PATCHLEVEL/ {P = $3}; END {print V "." P}' /etc/SuSE-release`
99
- else
99
+ else # opensuse 43 only. 15 ships with /etc/os-release only
100
100
  platform="opensuseleap"
101
101
  platform_version=`awk '/^VERSION =/ { print $3 }' /etc/SuSE-release`
102
102
  fi
@@ -114,7 +114,14 @@ elif test -f "/etc/os-release"; then
114
114
  fi
115
115
 
116
116
  platform=$ID
117
- platform_version=$VERSION
117
+
118
+ # VERSION_ID is always the preferred variable to use, but not
119
+ # every distro has it so fallback to VERSION
120
+ if test "x$VERSION_ID" != "x"; then
121
+ platform_version=$VERSION_ID
122
+ else
123
+ platform_version=$VERSION
124
+ fi
118
125
  fi
119
126
 
120
127
  if test "x$platform" = "x"; then
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.11.29"
3
+ VERSION = "3.12.1"
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.11.29
4
+ version: 3.12.1
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: 2020-03-09 00:00:00.000000000 Z
12
+ date: 2020-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout