mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Update upgrade
This commit is contained in:
parent
0dea1ce2e3
commit
659654ec25
1 changed files with 5 additions and 5 deletions
|
@ -112,12 +112,12 @@ ynh_script_progression --message="Upgrading Searx..." --weight=7
|
|||
# Clean venv if it still on python2
|
||||
if [ ! -e $final_path/bin/python3 ]
|
||||
then
|
||||
ynh_secure_remove --file=$final_path/lib/ --regex='python[^/.]*'
|
||||
ynh_secure_remove --file=$final_path/lib64/ --regex='python[^/.]*'
|
||||
ynh_secure_remove --file=$final_path/share/python-wheels
|
||||
ynh_regex_secure_remove --file=$final_path/lib/ --regex='python[^/.]*'
|
||||
ynh_regex_secure_remove --file=$final_path/lib64/ --regex='python[^/.]*'
|
||||
ynh_regex_secure_remove --file=$final_path/share/python-wheels
|
||||
fi
|
||||
ynh_secure_remove --file=$final_path/lib/python3/site-packages/setuptools
|
||||
ynh_secure_remove --file=$final_path/lib/python3/site-packages/ --regex='setuptools-[^/.]*'
|
||||
ynh_regex_secure_remove --file=$final_path/lib/python3/site-packages/setuptools
|
||||
ynh_regex_secure_remove --file=$final_path/lib/python3/site-packages/ --regex='setuptools-[^/.]*'
|
||||
|
||||
python3 -m venv --system-site-packages "$final_path"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue