Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: os_about function #1010

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ function cleanup() {
fi
}

function os_about() {
local SIMPLE_NAME=""
local ABOUT=""
SIMPLE_NAME="${1}"
ABOUT=$(os_info "${SIMPLE_NAME}" | cut -d'|' -f5)
echo "${ABOUT}"
}

if [ "${1}" == '--test-iso-url' ] || [ "${1}" == '-t' ]; then
test_iso_url="on"
if [ -n "$4" ]; then
Expand Down