fix: move cut_1

This commit is contained in:
zen0bit 2024-04-19 04:46:20 +02:00 committed by Martin Wimpress
parent 1b7050103c
commit 37959f9933
1 changed files with 6 additions and 6 deletions

View File

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