diff --git a/scripts/restore b/scripts/restore index 09cd664..201a1b3 100755 --- a/scripts/restore +++ b/scripts/restore @@ -109,4 +109,4 @@ ynh_systemd_action --service_name=uwsgi-app@$app.service --action=start --line_m # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last +ynh_script_progression --message="Restoration completed for Searx" --last diff --git a/scripts/upgrade b/scripts/upgrade index 1661a49..3a56ef6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -124,8 +124,8 @@ then ynh_secure_remove --file=$final_path/lib64/ --regex='python[^/.]*' ynh_secure_remove --file=$final_path/share/python-wheels fi -ynh_secure_remove --file=$final_path/lib/python3.7/site-packages/setuptools -ynh_secure_remove --file=$final_path/lib/python3.7/site-packages/ --regex='setuptools-[^/.]*' +ynh_secure_remove --file=$final_path/lib/python3/site-packages/setuptools +ynh_secure_remove --file=$final_path/lib/python3/site-packages/ --regex='setuptools-[^/.]*' python3 -m venv --system-site-packages "$final_path" set +u; source $final_path/bin/activate; set -u @@ -185,4 +185,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed" --last +ynh_script_progression --message="Upgrade of Searx completed" --last