File tree 1 file changed +2
-2
lines changed
scripts/components/OpenSearch
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ elif [ "$DISTRIBUTION" = "deb" ] || [ "$DISTRIBUTION" = "rpm" ]; then
96
96
else
97
97
cp -va ../../../scripts/pkg/build_templates/current/opensearch/$DISTRIBUTION /* " $OUTPUT /../"
98
98
OS_REF=` yq -e ' .components[] | select(.name == "OpenSearch") | .ref' ../../../manifests/$VERSION /opensearch-$VERSION .yml`
99
- curl -SL " https://raw.githubusercontent.com/opensearch-project/OpenSearch/$OS_REF /distribution/packages/src/common/env/opensearch" -o " $OUTPUT /../etc/sysconfig/opensearch"
100
- curl -SL " https://raw.githubusercontent.com/opensearch-project/OpenSearch/$OS_REF /distribution/packages/src/common/systemd/opensearch.service" -o " $OUTPUT /../usr/lib/systemd/system/opensearch.service"
99
+ curl -SfL " https://raw.githubusercontent.com/opensearch-project/OpenSearch/$OS_REF /distribution/packages/src/common/env/opensearch" -o " $OUTPUT /../etc/sysconfig/opensearch" || { echo " Failed to download env file " ; exit 1 ; }
100
+ curl -SfL " https://raw.githubusercontent.com/opensearch-project/OpenSearch/$OS_REF /distribution/packages/src/common/systemd/opensearch.service" -o " $OUTPUT /../usr/lib/systemd/system/opensearch.service" || { echo " Failed to download env file " ; exit 1 ; }
101
101
# k-NN lib setups
102
102
echo -e " \n\n################################" >> " $OUTPUT /../etc/sysconfig/opensearch"
103
103
echo -e " # Plugin properties" >> " $OUTPUT /../etc/sysconfig/opensearch"
You can’t perform that action at this time.
0 commit comments