Ports: Remove the "no HTTPS" workaround

curl on SerenityOS now has HTTPS support, since we use the upstream
ca-certificates package.
This commit is contained in:
Tim Schumacher 2023-07-12 00:58:29 +02:00 committed by Andreas Kling
parent 158caf1b91
commit b8cf8c6081

View file

@ -303,11 +303,6 @@ do_download_file() {
echo "Downloading URL: ${url}"
# FIXME: Serenity's curl port does not support https, even with openssl installed.
if which curl >/dev/null 2>&1 && ! curl https://example.com -so /dev/null; then
url=$(echo "$url" | sed "s/^https:\/\//http:\/\//")
fi
if which curl; then
run_nocd curl ${curlopts:-} "$url" -L -o "$filename"
else