Skip to content

Commit f46bce0

Browse files
committed
Alpine Linux: Use GitLab mirror to avoid 502 gateway errors.
502 gateway errors are frequently encountered with git.alpinelinux.org, so use the GitLab mirror instead.
1 parent fe614ae commit f46bce0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

phreaknet.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -3097,10 +3097,11 @@ get_source() {
30973097
freebsd_port_patches
30983098
fi
30993099
if [ "$PAC_MAN" = "apk" ]; then
3100-
custom_fuzzy_patch "10-musl-mutex-init.patch" "https://git.alpinelinux.org/aports/plain/main/asterisk/10-musl-mutex-init.patch"
3101-
custom_fuzzy_patch "20-musl-astmm-fix.patch" "https://git.alpinelinux.org/aports/plain/main/asterisk/20-musl-astmm-fix.patch"
3102-
custom_fuzzy_patch "40-asterisk-cdefs.patch" "https://git.alpinelinux.org/aports/plain/main/asterisk/40-asterisk-cdefs.patch"
3103-
custom_fuzzy_patch "41-asterisk-ALLPERMS.patch" "https://git.alpinelinux.org/aports/plain/main/asterisk/41-asterisk-ALLPERMS.patch"
3100+
# Use GitLab mirror instead of Alpine Linux for reliability
3101+
custom_fuzzy_patch "10-musl-mutex-init.patch" "https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/main/asterisk/10-musl-mutex-init.patch"
3102+
custom_fuzzy_patch "20-musl-astmm-fix.patch" "https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/main/asterisk/20-musl-astmm-fix.patch"
3103+
custom_fuzzy_patch "40-asterisk-cdefs.patch" "https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/main/asterisk/40-asterisk-cdefs.patch"
3104+
custom_fuzzy_patch "41-asterisk-ALLPERMS.patch" "https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/main/asterisk/41-asterisk-ALLPERMS.patch"
31043105
fi
31053106
}
31063107

0 commit comments

Comments
 (0)