You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/28 10:40:58 UTC

[GitHub] [apisix] tokers commented on a change in pull request #5350: feat: Support installation on arch

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



##########
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

Review comment:
       Shall we have some tests to cover it?




-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org