mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Fix
This commit is contained in:
parent
79b562e108
commit
91c57361eb
2 changed files with 2 additions and 8 deletions
|
@ -63,7 +63,7 @@ ynh_install_app_dependencies $pkg_dependencies
|
|||
ynh_script_progression --message="Configuring system user..." --weight=3
|
||||
|
||||
# Create a system user
|
||||
ynh_system_user_create --username=$app
|
||||
ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
@ -92,10 +92,7 @@ ynh_script_progression --message="Installing Searx..." --weight=2
|
|||
|
||||
python3 -m venv --system-site-packages "$final_path"
|
||||
set +u; source $final_path/bin/activate; set -u
|
||||
pip3 install -U pip
|
||||
pip3 install -U setuptools
|
||||
pip3 install -U wheel
|
||||
pip3 install -U pyyaml
|
||||
pip3 install -U pip setuptools wheel pyyaml
|
||||
pip3 install --requirement $final_path/requirements-ynh.txt
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -81,9 +81,6 @@ ynh_system_user_create --username=$app
|
|||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
# Verify the checksum and backup the file if it's different
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/searx/settings.yml"
|
||||
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=3
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
|
|
Loading…
Add table
Reference in a new issue