spacewander commented on a change in pull request #5350:
URL: https://github.com/apache/apisix/pull/5350#discussion_r738300889



##########
File path: utils/install-dependencies.sh
##########
@@ -19,6 +19,26 @@
 
 set -ex
 
+function detect_aur_helper() {
+       if [[ $(which yay) ]]; then
+               AUR_HELPER=yay
+       elif [[ $(which pacaur) ]]; then
+               AUR_HELPER=pacaur
+       fi
+}
+
+function install_dependencies_with_aur() {
+       detect_aur_helper
+       $AUR_HELPER -S openresty --noconfirm
+       sudo pacman -S openssl --noconfirm
+
+       export OPENRESTY_PREFIX=/opt/openresty
+
+       sudo mkdir $OPENRESTY_PREFIX/openssl

Review comment:
       Use space to indent




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to