Skip to content

Commit

Permalink
feat: Add function to show short info about OS
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed Apr 16, 2024
1 parent bea27b1 commit 0a472db
Showing 1 changed file with 8 additions and 0 deletions.
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

0 comments on commit 0a472db

Please sign in to comment.