[fix] upgrade script, remove init virtualenv

This commit is contained in:
Beudbeud 2015-09-08 23:26:24 +02:00
parent ff5d41e888
commit 27f9f8b780
1 changed files with 0 additions and 7 deletions

View File

@ -29,13 +29,6 @@ then
fi
final_path=/opt/yunohost/searx
# Init virtualenv
if [ ! -d $final_path ];
then
sudo mkdir $final_path
fi
sudo cp -r ../sources/* $final_path
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt --upgrade"
# Disable swapfile