fix msm install order

pull/1377/head
jarbasai 2018-01-23 10:11:32 +00:00
parent 11cd652889
commit 21ad61b272
1 changed files with 7 additions and 7 deletions

14
msm/msm
View File

@ -336,13 +336,6 @@ function install() {
fi
fi
# If the skill has a requirements.txt, pip install them
run_pip "${name}"
rc=$?
if [[ ${rc} -gt 0 ]] ; then
return ${rc}
fi
# If the skill has a requirements.sh, then run that using bash
if [[ -f "requirements.sh" ]]; then
echo " Setting up native environment..."
@ -353,6 +346,13 @@ function install() {
fi
fi
# If the skill has a requirements.txt, pip install them
run_pip "${name}"
rc=$?
if [[ ${rc} -gt 0 ]] ; then
return ${rc}
fi
echo "Installed: ${name}"
send_install_success "${name}"
return 0