mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-27 16:56:10 +00:00
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.
|
||||
{% endcomment %}
|
||||
{% assign version_parts = site.opensearch_major_minor_version | split: "." %}
|
||||
{% assign major_version_mask = version_parts[0] | append: ".x" %}
|
||||
|
||||
# RPM
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user