[system-dependencies] Show a URL to download Mono if Mono needs installing/updating. (#6262)
This commit is contained in:
Родитель
b05c9cb5ab
Коммит
ed57182937
|
@ -498,14 +498,14 @@ function check_mono () {
|
||||||
if ! test -z $PROVISION_MONO; then
|
if ! test -z $PROVISION_MONO; then
|
||||||
install_mono
|
install_mono
|
||||||
else
|
else
|
||||||
fail "You must install the Mono MDK (http://www.mono-project.com/download/)"
|
fail "You must install the Mono MDK. Download URL: $MIN_MONO_URL"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
elif ! test -e $MONO_VERSION_FILE; then
|
elif ! test -e $MONO_VERSION_FILE; then
|
||||||
if ! test -z $PROVISION_MONO; then
|
if ! test -z $PROVISION_MONO; then
|
||||||
install_mono
|
install_mono
|
||||||
else
|
else
|
||||||
fail "Could not find VERSION file, you must install the Mono MDK (http://www.mono-project.com/download/)"
|
fail "Could not find Mono's VERSION file, you must install the Mono MDK. Download URL: $MIN_MONO_URL"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -519,7 +519,8 @@ function check_mono () {
|
||||||
install_mono
|
install_mono
|
||||||
ACTUAL_MONO_VERSION=`cat $MONO_VERSION_FILE`
|
ACTUAL_MONO_VERSION=`cat $MONO_VERSION_FILE`
|
||||||
else
|
else
|
||||||
fail "You must have at least Mono $MIN_MONO_VERSION, found $ACTUAL_MONO_VERSION"
|
MIN_MONO_URL=$(grep ^MIN_MONO_URL= Make.config | sed 's/.*=//')
|
||||||
|
fail "You must have at least Mono $MIN_MONO_VERSION, found $ACTUAL_MONO_VERSION. Download URL: $MIN_MONO_URL"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
elif [[ "$ACTUAL_MONO_VERSION" == "$MAX_MONO_VERSION" ]]; then
|
elif [[ "$ACTUAL_MONO_VERSION" == "$MAX_MONO_VERSION" ]]; then
|
||||||
|
|
Загрузка…
Ссылка в новой задаче