mirror of
https://github.com/XTLS/Xray-install.git
synced 2026-01-04 06:29:51 +00:00
Alpine Linux: Replace raw.githubusercontent.com with github.com/xxx/raw (#89)
This commit is contained in:
@@ -165,7 +165,7 @@ install_startup_service_file() {
|
||||
OPENRC='0'
|
||||
if [ ! -f '/etc/init.d/xray' ]; then
|
||||
mkdir "${TMP_DIRECTORY}init.d/"
|
||||
if ! curl -f -L -o "${TMP_DIRECTORY}init.d/xray" https://raw.githubusercontent.com/XTLS/Xray-install/main/alpinelinux/init.d/xray -sS; then
|
||||
if ! curl -f -L -o "${TMP_DIRECTORY}init.d/xray" https://github.com/XTLS/Xray-install/raw/main/alpinelinux/init.d/xray -sS; then
|
||||
echo 'error: Failed to start service file download! Please check your network or try again.'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user