Change cut_1 to cut -d' ' -f 1
parent
b67d1622ec
commit
4517f3ec63
|
|
@ -53,7 +53,7 @@ function get_newos() {
|
|||
|
||||
ISO="newos-${RELEASE}-${EDITION}-amd64.iso"
|
||||
URL="https://www.newos.org/download/${RELEASE}/${EDITION}"
|
||||
HASH=$(web_pipe "${URL}/SHA512SUMS" | grep "${ISO}" | cut_1)
|
||||
HASH=$(web_pipe "${URL}/SHA512SUMS" | grep "${ISO}" | cut -d' ' -f 1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
```
|
||||
Loading…
Reference in New Issue