Skip to content

Commit

Permalink
Merge pull request #3107 from nateynateynate/archlinux
Browse files Browse the repository at this point in the history
Adds new platform for download page, "Arch Linux" and the necessary i…
  • Loading branch information
dtaivpp committed Jul 30, 2024
2 parents 618aa63 + 57a5ac1 commit 39a56fa
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
role: daemon
artifact_id: opensearch
version: 2.15.0
platform: archlinux
architecture: x64
slug: opensearch-2.15.0-archlinux-x64
category: opensearch
type: system-package
archlinux_package_name: opensearch
link: https://archlinux.org/packages/extra/x86_64/opensearch/
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
role: ui
title: OpenSearch Dashboards
artifact_id: opensearch-dashboards
architecture: x64
platform: archlinux
type: system-package
category: opensearch-dashboards
slug: opensearch-dashboards-2.15.0-archlinux-x64
version: 2.15.0
archlinux_package_name: opensearch-dashboards
link: https://archlinux.org/packages/extra/x86_64/opensearch-dashboards/
---
9 changes: 9 additions & 0 deletions _layouts/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
macos: macOS
java: "Java"
docker: Docker
archlinux: "Arch Linux"
extensions:
targz: ".tar.gz"
exe: "Installer (exe)"
Expand Down Expand Up @@ -60,6 +61,7 @@
- linux
- docker
- freebsd
- archlinux
- macos
- windows
- java
Expand Down Expand Up @@ -211,6 +213,13 @@ <h3 class="artifact-name" id="{{component.artifact}}">{{ name_pretty }}</h3>
</div>{% endcapture %}
{% assign artifact_extras = artifact_extras | append: artifact_extra %}
{% endif %}
{% if details.archlinux_package_name %}
{% capture artifact_extra %}<div class="extra_links extra_{{artifact_id}}">
<p>Install from Arch Linux packages:</p>
<pre># pacman -S install {{details.archlinux_package_name}}</pre>
</div>{% endcapture %}
{% assign artifact_extras = artifact_extras | append: artifact_extra %}
{% endif %}
{% if details.link %}
{% capture artifact_extra %}<div class="extra_links extra_{{artifact_id}}">
<a href="{{details.link}}" target="_blank" class="cta">Get it</a>
Expand Down

0 comments on commit 39a56fa

Please sign in to comment.