Fixed liquid syntax which fixes the yum repo command paths (#1413)
Signed-off-by: JeffH-AWS <jeffhuss@amazon.com> Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
This commit is contained in:
parent
3720f1902c
commit
71924da48c
|
@ -9,6 +9,7 @@ nav_order: 51
|
||||||
The following liquid syntax declares a variable, major_version_mask, which is transformed into "N.x" where "N" is the major version number. This is required for proper versioning references to the Yum repo.
|
The following liquid syntax declares a variable, major_version_mask, which is transformed into "N.x" where "N" is the major version number. This is required for proper versioning references to the Yum repo.
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% assign version_parts = site.opensearch_major_minor_version | split: "." %}
|
{% assign version_parts = site.opensearch_major_minor_version | split: "." %}
|
||||||
|
{% assign major_version_mask = version_parts[0] | append: ".x" %}
|
||||||
|
|
||||||
# RPM
|
# RPM
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue