Fix dependencies on install.
This commit is contained in:
parent
33a1f613f8
commit
22be99d6e8
|
@ -15,7 +15,7 @@ fi
|
|||
sudo yunohost app setting searx is_public -v $is_public
|
||||
|
||||
# Check depends installation
|
||||
sudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev uwsgi uwsgi-plugin-python python-lxml -y
|
||||
sudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev python-lxml uwsgi uwsgi-plugin-python -y
|
||||
|
||||
# Check Swap
|
||||
if [ $(sudo swapon -s | wc -l) = 1 ];
|
||||
|
@ -43,7 +43,7 @@ then
|
|||
fi
|
||||
sudo cp -r ../sources/* $final_path
|
||||
sudo virtualenv --system-site-packages $final_path
|
||||
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt"
|
||||
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt && $final_path/manage.py update_packages"
|
||||
|
||||
# Disable swapfile
|
||||
if [[ -v "$tmp_swap_file" ]];
|
||||
|
|
Loading…
Reference in New Issue