diff --git a/quickget b/quickget index 95c460f..711960f 100755 --- a/quickget +++ b/quickget @@ -133,6 +133,14 @@ function os_info() { echo "${INFO}" } +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