Merge pull request #18 from maesp/patch-2

set curl as required binary
This commit is contained in:
Evgenii Nerush 2024-11-13 12:22:15 +03:00 committed by GitHub
commit da870c1891
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

1
ex.sh
View file

@ -499,6 +499,7 @@ sudo ./ex.sh install${normal}"
fi fi
fi fi
# #
check_command curl "required to download the xray installation script"
if bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install if bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
then then
echo -e "${green}xray installed${normal}" echo -e "${green}xray installed${normal}"