mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
upgrade searx to version v0.10
This commit is contained in:
parent
1d307c06ae
commit
669e58cdd9
2 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,8 @@ if [ ! -d $final_path ];
|
|||
then
|
||||
sudo mkdir -p $final_path
|
||||
fi
|
||||
wget https://github.com/asciimoo/searx/archive/v0.10.0.tar.gz
|
||||
tar xvf v0.10.0.tar.gz && mv searx-0.10.0 ../sources/searx
|
||||
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-ynh.txt"
|
||||
|
|
|
@ -37,6 +37,8 @@ then
|
|||
fi
|
||||
|
||||
final_path=/opt/yunohost/$app
|
||||
wget https://github.com/asciimoo/searx/archive/v0.10.0.tar.gz
|
||||
tar xvf v0.10.0.tar.gz && mv searx-0.10.0 ../sources/searx
|
||||
sudo cp -r ../sources/* $final_path
|
||||
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements-ynh.txt --upgrade"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue