fix: [update_thirdparty] detect and use virtualenv

This commit is contained in:
Terrtia 2019-04-02 09:50:52 +02:00
parent c87f0ffcb1
commit 870fa1981c
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -83,8 +83,12 @@ pushd static/image
wget https://www.circl.lu/assets/images/logos/AIL.png -O AIL.png
popd
#active virtualenv
source ./../../AILENV/bin/activate
if ! [[ -n "$AIL_HOME" ]]
then
#active virtualenv
source ./../../AILENV/bin/activate
fi
#Update MISP Taxonomies and Galaxies
python3 -m pip install git+https://github.com/MISP/PyTaxonomies --upgrade
python3 -m pip install git+https://github.com/MISP/PyMISPGalaxies --upgrade