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
|
then
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
fi
|
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 cp -r ../sources/* $final_path
|
||||||
sudo virtualenv --system-site-packages $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"
|
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements-ynh.txt"
|
||||||
|
|
|
@ -37,6 +37,8 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
final_path=/opt/yunohost/$app
|
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 cp -r ../sources/* $final_path
|
||||||
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements-ynh.txt --upgrade"
|
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