From e0e28e03c33bc78cd7253bf9725b84017cadecb2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 19 Sep 2020 18:39:56 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 78fdea5..bb30e0b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,7 +118,7 @@ ynh_system_user_create --username=$app ynh_script_progression --message="Upgrading Searx..." --weight=7 # Clean venv if it still on python2 -if [ ! -e $final_path/bin/python3.7 ] +if [ ! -e $final_path/bin/python2.* ] then ynh_secure_remove --file=$final_path/lib/ --regex='python[^/.]*' ynh_secure_remove --file=$final_path/lib64/ --regex='python[^/.]*'