1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Remove old venv files

This commit is contained in:
Josué Tille 2020-01-26 15:45:28 +01:00
parent e5d076326c
commit d7316c7093
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -136,6 +136,11 @@ then
if [ -n "$(uname -m | grep arm)" ]
then
# Clean old file, sometime it could make some big issues if we don't do this !!
ynh_secure_remove --file=$final_path/bin
ynh_secure_remove --file=$final_path/lib
ynh_secure_remove --file=$final_path/include
ynh_secure_remove --file=$final_path/share
ynh_setup_source --dest_dir=$final_path/ --source_id="armv7_$(lsb_release --codename --short)"
else
# Install virtualenv if it don't exist