Skip to content

Commit

Permalink
Build package(rpm build): Add translations file to wazuh-dashboard.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
yenienserrano committed Nov 20, 2024
1 parent a537e76 commit 3fbbe6c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion dev-tools/build-packages/rpm/wazuh-dashboard.spec
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ if [ -f %{INSTALL_DIR}/wazuh-dashboard.restart ]; then
fi

fi
/usr/share/wazuh-dashboard/bin/opensearch-dashboards-plugin remove wazuh --allow-root
/usr/share/wazuh-dashboard/bin/opensearch-dashboards-plugin remove wazuh --allow-root

# -----------------------------------------------------------------------------

Expand Down Expand Up @@ -387,6 +387,20 @@ rm -fr %{buildroot}
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/legacy/ui/apm/index.js"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/docs/docs_repo.js"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/docs/cli.js"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/de-DE.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/es-419.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/es-ES.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/fr-CA.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/fr-FR.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/id-ID.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/it-IT.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/ja-JP.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/ko-KR.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/pt-PT.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/tr-TR.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/zh-CN.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/zh-TW.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/src/translations/pt-BR.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/package.json"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/LICENSE.txt"
%attr(640, %{USER}, %{GROUP}) "%{INSTALL_DIR}/NOTICE.txt"
Expand Down

0 comments on commit 3fbbe6c

Please sign in to comment.