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

Merge pull request #70 from YunoHost-Apps/testing

Testing
This commit is contained in:
Alexandre Aubin 2020-11-28 20:29:04 +01:00 committed by GitHub
commit 2fc7a5b613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Searx for YunoHost # Searx for YunoHost
[![Integration level](https://dash.yunohost.org/integration/searx.svg)](https://dash.yunohost.org/appci/app/searx) [![Integration level](https://dash.yunohost.org/integration/searx.svg)](https://dash.yunohost.org/appci/app/searx) ![](https://ci-apps.yunohost.org/ci/badges/searx.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/searx.maintain.svg)
[![Install Searx with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=searx) [![Install Searx with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=searx)
> *This package allow you to install Searx quickly and simply on a YunoHost server. > *This package allow you to install Searx quickly and simply on a YunoHost server.

View file

@ -123,7 +123,12 @@ ynh_system_user_create --username=$app
#================================================= #=================================================
ynh_script_progression --message="Upgrading Searx..." --weight=7 ynh_script_progression --message="Upgrading Searx..." --weight=7
rm -r $final_path/lib/python2.7/site-packages/setuptools $final_path/lib/python2.7/site-packages/setuptools-* ynh_secure_remove $final_path/lib/python2.7/site-packages/setuptools
for FILE in $final_path/lib/python2.7/site-packages/setuptools-*
do
ynh_secure_remove $FILE
done
virtualenv --system-site-packages "$final_path" virtualenv --system-site-packages "$final_path"
set +u; source $final_path/bin/activate; set -u set +u; source $final_path/bin/activate; set -u
pip install -U setuptools pip install -U setuptools