1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

Remove old full_replace alternative

This commit is contained in:
Thomas 2024-03-11 20:22:16 +01:00 committed by GitHub
parent 890fa0c58d
commit 32809b5584
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,10 +33,6 @@ ynh_systemd_action --action="stop" --service_name="${app}-worker" --log_path="sy
if [ "$upgrade_type" == "UPGRADE_APP" ] if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Remove the old files
ynh_secure_remove --file="$install_dir/api"
ynh_secure_remove --file="$install_dir/front"
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir/api" --source_id="api" --full_replace=1 ynh_setup_source --dest_dir="$install_dir/api" --source_id="api" --full_replace=1