diff --git a/quickget b/quickget index de3cee6..a05b6fe 100755 --- a/quickget +++ b/quickget @@ -2866,11 +2866,11 @@ function get_ubuntu-server() { URL="https://releases.ubuntu.com/${RELEASE}" fi if wget -q --spider "${URL}/SHA256SUMS"; then - DATA=$(wget -qO- "${URL}/SHA256SUMS" | grep 'live-server' | grep amd64 | grep iso) + DATA=$(web_pipe "${URL}/SHA256SUMS" | grep 'live-server' | grep amd64 | grep iso) ISO=$(cut -d'*' -f2 <<<${DATA}) HASH=$(cut -d' ' -f1 <<<${DATA}) else - DATA=$(wget -qO- "${URL}/MD5SUMS" | grep 'live-server' | grep amd64 | grep iso) + DATA=$(web_pipe "${URL}/MD5SUMS" | grep 'live-server' | grep amd64 | grep iso) ISO=$(cut -d' ' -f3 <<<${DATA}) HASH=$(cut -d' ' -f1 <<<${DATA}) fi