From 22be99d6e826a393d3b02f6fd6251edcf962d2e6 Mon Sep 17 00:00:00 2001 From: opi Date: Sun, 24 Apr 2016 17:08:48 +0200 Subject: [PATCH] Fix dependencies on install. --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5d3b9e9..3668bf8 100644 --- a/scripts/install +++ b/scripts/install @@ -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" ]];