mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
commit
2fc7a5b613
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue