if [[ -n ${version} ]] ; then
local operator=">="
- local version="-$(get_version_component_range 1-3 ${version})"
+ local version="-${version}"
fi
if [[ -n ${slot} ]] ; then
version=${3}
elif [[ ${CATEGORY} = kde-frameworks ]]; then
version=$(get_version_component_range 1-2)
- elif [[ -z "${version}" ]] ; then
+ elif [[ -z ${3} ]] ; then
version=${FRAMEWORKS_MINIMAL}
fi
if [[ -n ${3} ]]; then
version=${3}
elif [[ ${CATEGORY} = kde-plasma ]]; then
- version=${PV}
- elif [[ -z "${version}" ]] ; then
+ version=$(get_version_component_range 1-3)
+ elif [[ -z ${3} ]] ; then
version=${PLASMA_MINIMAL}
fi
if [[ -n ${3} ]]; then
version=${3}
elif [[ ${CATEGORY} = kde-apps ]]; then
- version=${PV}
- elif [[ -z "${version}" ]] ; then
+ version=$(get_version_component_range 1-3)
+ elif [[ -z ${3} ]] ; then
version=${KDE_APPS_MINIMAL}
fi
die "${FUNCNAME} was called with too many arguments"
fi
- local version
+ local version=${3}
local slot=${4}
- if [[ -n ${3} ]]; then
- version=${3}
- elif [[ -z "${version}" ]]; then
+ if [[ -z ${version} ]]; then
version=${QT_MINIMAL}
fi
-
if [[ -z ${slot} ]]; then
slot="5"
fi