Change cut_1 to cut -d' ' -f 1

Martin Wimpress 2024-05-09 12:15:27 +01:00
parent b67d1622ec
commit 4517f3ec63
1 changed files with 1 additions and 1 deletions

@ -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}"
}
```