-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(scripts): update install.sh to use packages on macOS #1127
Changes from 1 commit
4bc3c63
f7020d3
be1bf2b
ff65694
14b872e
85450dc
8759141
50f48dc
d23ea5f
c76865e
6e47210
15bd7ba
9b7d16e
a8b4053
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -723,11 +723,11 @@ function setup_config_darwin() { | |
write_sumologic_extension "${COMMON_CONFIG_PATH}" "${INDENTATION}" | ||
|
||
# fill in api base url | ||
if [[ -n "${API_BASE_URL}" && -z "${USER_API_URL}" ]]; then | ||
if [[ -n "${API_BASE_URL}" ]]; then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need this change? If yes, can add to linux as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is only necessary on macOS as |
||
write_api_url "${API_BASE_URL}" "${COMMON_CONFIG_PATH}" "${EXT_INDENTATION}" | ||
fi | ||
|
||
if [[ -n "${FIELDS}" && -z "${USER_FIELDS}" ]]; then | ||
if [[ -n "${FIELDS}" ]]; then | ||
write_tags "${FIELDS}" "${COMMON_CONFIG_PATH}" "${INDENTATION}" "${EXT_INDENTATION}" | ||
fi | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we may use
switch
here