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:
parent
ff5d41e888
commit
27f9f8b780
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue