Additional python packages for searx

This commit is contained in:
Bob Mottram 2017-06-12 13:27:35 +01:00
parent c17a68139b
commit f8aefec776
1 changed files with 12 additions and 0 deletions

View File

@ -855,6 +855,18 @@ function install_searx {
exit 63738
fi
pip install requests --upgrade
if [ ! "$?" = "0" ]; then
echo $'Failed to install requests'
exit 357282
fi
pip install pygments --upgrade
if [ ! "$?" = "0" ]; then
echo $'Failed to install pygments'
exit 357282
fi
if [ ! -d $SEARX_PATH ]; then
mkdir -p $SEARX_PATH
fi