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

Handle requirements as conf instead of file

This commit is contained in:
Salamandar 2024-01-29 18:53:28 +01:00
parent 421b5e3b26
commit e6577142d1
2 changed files with 2 additions and 0 deletions

View file

@ -38,6 +38,8 @@ ynh_script_progression --message="Installing Searx..." --weight=2
_searx_venv_install _searx_venv_install
ynh_add_config --template="requirements-ynh.txt" --destination="$install_dir/requirements-ynh.txt"
pushd "$install_dir" pushd "$install_dir"
ynh_exec_as "$app" "$venvpy" -m pip install --requirement ./requirements-ynh.txt --no-cache-dir ynh_exec_as "$app" "$venvpy" -m pip install --requirement ./requirements-ynh.txt --no-cache-dir
popd popd