forked from p15670423/monkey
Fix deb package requirement
This commit is contained in:
parent
3ef24281a7
commit
a23317ecdf
|
@ -6,9 +6,13 @@ INSTALLATION_FOLDER=/var/monkey_island/installation
|
||||||
cp -f ${MONKEY_FOLDER}/monkey.sh /usr/bin/monkey
|
cp -f ${MONKEY_FOLDER}/monkey.sh /usr/bin/monkey
|
||||||
chmod 755 /usr/bin/monkey
|
chmod 755 /usr/bin/monkey
|
||||||
|
|
||||||
|
# Fix dependency bug
|
||||||
|
pip uninstall -y bson
|
||||||
|
|
||||||
# install pip requirements
|
# install pip requirements
|
||||||
pip install -r $MONKEY_FOLDER/pip_requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER
|
pip install -r $MONKEY_FOLDER/pip_requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER
|
||||||
|
|
||||||
|
|
||||||
# remove installation folder and unnecessary files
|
# remove installation folder and unnecessary files
|
||||||
rm -rf ${INSTALLATION_FOLDER}
|
rm -rf ${INSTALLATION_FOLDER}
|
||||||
rm -f ${MONKEY_FOLDER}/pip_requirements.txt
|
rm -f ${MONKEY_FOLDER}/pip_requirements.txt
|
||||||
|
|
|
@ -5,7 +5,6 @@ jinja2
|
||||||
markupsafe
|
markupsafe
|
||||||
itsdangerous
|
itsdangerous
|
||||||
click
|
click
|
||||||
bson
|
|
||||||
flask
|
flask
|
||||||
Flask-Pymongo
|
Flask-Pymongo
|
||||||
Flask-Restful
|
Flask-Restful
|
|
@ -5,7 +5,6 @@ jinja2
|
||||||
markupsafe
|
markupsafe
|
||||||
itsdangerous
|
itsdangerous
|
||||||
click
|
click
|
||||||
bson
|
|
||||||
flask
|
flask
|
||||||
Flask-Pymongo
|
Flask-Pymongo
|
||||||
Flask-Restful
|
Flask-Restful
|
Loading…
Reference in New Issue