From 26d93fe774af97a837da856638734895a0386fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Kr=C3=BCss?= Date: Wed, 21 Dec 2022 01:18:03 -0800 Subject: [PATCH] Use R2 URL for ext-relay (#676) --- install-php-extensions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index 72fb4fd..4a205cc 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3075,7 +3075,7 @@ installRemoteModule() { ;; relay) if test -z "$installRemoteModule_version"; then - installRemoteModule_version="$(curl -sSLf https://cachewerk.s3.amazonaws.com/relay/LATEST)" + installRemoteModule_version="$(curl -sSLf https://builds.r2.relay.so/meta/latest)" installRemoteModule_version="${installRemoteModule_version#v}" fi case $(uname -m) in @@ -3087,7 +3087,7 @@ installRemoteModule() { ;; esac printf 'Downloading relay v%s (%s)... ' "$installRemoteModule_version" "$installRemoteModule_hardware" - installRemoteModule_url="https://cachewerk.s3.amazonaws.com/relay/v${installRemoteModule_version}/relay-v${installRemoteModule_version}-php${PHP_MAJDOTMIN_VERSION}-${DISTRO}-${installRemoteModule_hardware}.tar.gz" + installRemoteModule_url="https://builds.r2.relay.so/v${installRemoteModule_version}/relay-v${installRemoteModule_version}-php${PHP_MAJDOTMIN_VERSION}-${DISTRO}-${installRemoteModule_hardware}.tar.gz" installRemoteModule_src="$(getPackageSource $installRemoteModule_url)" echo 'done.' cp -- "$installRemoteModule_src/relay-pkg.so" "$PHP_EXTDIR/relay.so"