refactor: update draginflybsd to use web_pipe()
This commit is contained in:
parent
f7c88e12ba
commit
d0c5d83cbb
2
quickget
2
quickget
|
@ -2063,7 +2063,7 @@ function get_dragonflybsd() {
|
|||
local HASH=""
|
||||
local ISO="dfly-x86_64-${RELEASE}_REL.iso.bz2"
|
||||
local URL="http://mirror-master.dragonflybsd.org/iso-images"
|
||||
HASH=$(wget -q -O- "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4)
|
||||
HASH=$(web_pipe "${URL}/md5.txt" | grep "(${ISO})" | cut -d' ' -f4)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue