Apache Solr open-source search software
Update install_solr_service.sh (#3778)
Andreas Rütten4b39f1ce4670
diff --git a/changelog/unreleased/pr/3778.yml b/changelog/unreleased/pr/3778.ymlnew file mode 100644index 00000000000..61b3409636a--- /dev/null+++ b/changelog/unreleased/pr/3778.yml@@ -0,0 +1,6 @@+# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc+title: Add Amazon Linux as known distro for installing Solr as a service.+type: added # added, changed, fixed, deprecated, removed, dependency_update, security, other+authors:+ - name: Eric Pugh+ - name: Andreas Rüttendiff --git a/solr/bin/install_solr_service.sh b/solr/bin/install_solr_service.shindex 8102b3d1539..59ca0e54d69 100755--- a/solr/bin/install_solr_service.sh+++ b/solr/bin/install_solr_service.sh@@ -71,6 +71,8 @@ for command in "grep -E \"^NAME=\" /etc/os-release" \distro=Debianelif [[ ${distro_string,,} == *"red hat"* ]]; thendistro=RedHat+ elif [[ ${distro_string,,} == *"amazon"* ]]; then+ distro=RedHatelif [[ ${distro_string,,} == *"centos"* ]]; thendistro=CentOSelif [[ ${distro_string,,} == *"rocky"* ]]; then