Skip to content
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

chore: Remove the shell and docs for build/install APISIX on MacOS #10864

Merged
merged 3 commits into from
Jan 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add the tips when user install dependencies on non-supported platform
Signed-off-by: Vacant2333 <vacang2333@gmail.com>
  • Loading branch information
Vacant2333 committed Jan 24, 2024
commit ec0786cc18fa3a85f8cda110453d0dc777e06331
8 changes: 4 additions & 4 deletions utils/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function multi_distro_installation() {
elif grep -Eqi "Arch" /etc/issue || grep -Eqi "EndeavourOS" /etc/issue || grep -Eq "Arch" /etc/*-release; then
install_dependencies_with_aur
else
echo "Non-supported operating system version"
echo "Non-supported distribution, APISIX is only supported on Linux-based systems"
exit 1
fi
install_apisix_runtime
Expand All @@ -114,7 +114,7 @@ function multi_distro_uninstallation() {
elif grep -Eqi "Ubuntu" /etc/issue || grep -Eq "Ubuntu" /etc/*-release; then
sudo apt-get autoremove -y openresty-zlib-dev openresty-pcre-dev
else
echo "Non-supported operating system version"
echo "Non-supported distribution, APISIX is only supported on Linux-based systems"
exit 1
fi
}
Expand Down Expand Up @@ -148,7 +148,7 @@ function main() {
install_luarocks
return
else
echo "Non-supported distribution"
echo "Non-supported distribution, APISIX is only supported on Linux-based systems"
exit 1
fi
fi
Expand All @@ -162,7 +162,7 @@ function main() {
if [[ "${OS_NAME}" == "linux" ]]; then
multi_distro_uninstallation
else
echo "Non-supported distribution"
echo "Non-supported distribution, APISIX is only supported on Linux-based systems"
fi
;;
*)
Expand Down
Loading