Skip to content

Commit

Permalink
Fix installing tideways on Alpine Linux (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Apr 9, 2024
1 parent 6263a81 commit bc248f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -3929,7 +3929,7 @@ installRemoteModule() {
installRemoteModule_architecture=alpine-arm64
;;
*)
installRemoteModule_architecture=alpine
installRemoteModule_architecture=alpine-x86_64
;;
esac
;;
Expand All @@ -3945,6 +3945,10 @@ installRemoteModule() {
;;
esac
installRemoteModule_url="$(curl -sSLf -o - https://tideways.com/profiler/downloads | grep -Eo "\"[^\"]+/tideways-php-([0-9]+\.[0-9]+\.[0-9]+)-$installRemoteModule_architecture.tar.gz\"" | cut -d'"' -f2)"
if test -z "$installRemoteModule_url"; then
echo 'Failed to find the tideways tarball to be downloaded'
exit 1
fi
printf 'Downloading tideways from %s\n' "$installRemoteModule_url"
installRemoteModule_src="$(getPackageSource $installRemoteModule_url)"
if test -d "$installRemoteModule_src/dist"; then
Expand Down

0 comments on commit bc248f8

Please sign in to comment.