diff --git a/quickget b/quickget index bfdb7b4..7c9c26a 100755 --- a/quickget +++ b/quickget @@ -31,7 +31,12 @@ function cleanup() { fi } -function os_info() { +# Get string before first whitespace (HASH) +cut_1() { + cut -d' ' -f1 +} + +os_info() { local SIMPLE_NAME="" local INFO="" SIMPLE_NAME="${1}" @@ -710,11 +715,6 @@ function os_homepages(){ echo "${HOMEPAGE}" } -# Get string before first whitespace (HASH) -function cut_1() { - cut -d' ' -f1 -} - function releases_alma() { echo 9 8 }