1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/13ft_ynh.git synced 2024-09-03 18:06:03 +02:00

restore apt dependencies

This commit is contained in:
lapineige 2022-12-18 23:26:19 +01:00 committed by GitHub
parent f89d264df3
commit 3488972e9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,13 +63,19 @@ chown -R $app:www-data "$final_path"
#=================================================
# SPECIFIC RESTORATION
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling apt dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
#=================================================
# INSTALL PYTHON DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling Python dependencies..." --weight=1
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
pushd $final_path
python3 -m venv venv
venv/bin/pip install --upgrade pip