Additional python packages for searx
This commit is contained in:
parent
c17a68139b
commit
f8aefec776
|
@ -855,6 +855,18 @@ function install_searx {
|
||||||
exit 63738
|
exit 63738
|
||||||
fi
|
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
|
if [ ! -d $SEARX_PATH ]; then
|
||||||
mkdir -p $SEARX_PATH
|
mkdir -p $SEARX_PATH
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue