1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00

[fix] upgrade script, remove init virtualenv

This commit is contained in:
Beudbeud 2015-09-08 23:26:24 +02:00
parent ff5d41e888
commit 27f9f8b780

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