fix: move cut_1
This commit is contained in:
parent
1b7050103c
commit
37959f9933
12
quickget
12
quickget
|
@ -31,7 +31,12 @@ function cleanup() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function os_info() {
|
# Get string before first whitespace (HASH)
|
||||||
|
cut_1() {
|
||||||
|
cut -d' ' -f1
|
||||||
|
}
|
||||||
|
|
||||||
|
os_info() {
|
||||||
local SIMPLE_NAME=""
|
local SIMPLE_NAME=""
|
||||||
local INFO=""
|
local INFO=""
|
||||||
SIMPLE_NAME="${1}"
|
SIMPLE_NAME="${1}"
|
||||||
|
@ -710,11 +715,6 @@ function os_homepages(){
|
||||||
echo "${HOMEPAGE}"
|
echo "${HOMEPAGE}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get string before first whitespace (HASH)
|
|
||||||
function cut_1() {
|
|
||||||
cut -d' ' -f1
|
|
||||||
}
|
|
||||||
|
|
||||||
function releases_alma() {
|
function releases_alma() {
|
||||||
echo 9 8
|
echo 9 8
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue