diff --git a/scripts/install b/scripts/install index 039d0cc..1eb7f79 100644 --- a/scripts/install +++ b/scripts/install @@ -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 #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c7446db..f6aaaa6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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