mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
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:
parent
158caf1b91
commit
b8cf8c6081
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue