From 0a472db085dcc0010dc8ae8b7efaf4db8d51840e Mon Sep 17 00:00:00 2001 From: zen0bit Date: Fri, 12 Apr 2024 18:03:13 +0200 Subject: [PATCH] feat: Add function to show short info about OS --- quickget | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/quickget b/quickget index cc5b987..35d249a 100755 --- a/quickget +++ b/quickget @@ -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