diff --git a/quickget b/quickget index cc5b987..2803b7a 100755 --- a/quickget +++ b/quickget @@ -27,6 +27,14 @@ function cleanup() { fi } +function os_basedof() { + local SIMPLE_NAME="" + local BASED="" + SIMPLE_NAME="${1}" + BASED=$(os_info "${SIMPLE_NAME}" | cut -d'|' -f2) + echo "${BASED}" +} + if [ "${1}" == '--test-iso-url' ] || [ "${1}" == '-t' ]; then test_iso_url="on" if [ -n "$4" ]; then