1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00

Try to fix Upgrade CI test

This commit is contained in:
Étienne Deparis 2019-01-08 11:47:11 +01:00
parent b78f22b5c0
commit 48d66bfebe

View file

@ -105,7 +105,7 @@ ynh_system_user_create $app
if [ -d $final_path/lib/python2.7 ]; then
# The old python2 venv is there, we need to remove it first
rm -r $final_path/bin $final_path/lib $final_path/include
rm $final_path/pip-selfcheck.json
[ -f $final_path/pip-selfcheck.json ] && rm $final_path/pip-selfcheck.json
else
rm -r $final_path/lib/python3.5/site-packages/setuptools $final_path/lib/python3.5/site-packages/setuptools-*
fi