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

Merge pull request #13 from YunoHost-Apps/upgrade_full_replace

[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
eric_G 2024-04-25 17:18:15 +02:00 committed by GitHub
commit fb2c71f729
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ chown -R $app:www-data "$data_dir"
ynh_script_progression --message="Reinstalling dependencies..."
tmpdir="$(mktemp -d)"
ynh_setup_source --dest_dir="$tmpdir"
ynh_setup_source --dest_dir="$tmpdir" --full_replace=1
dpkg -i $tmpdir/flood-linux.deb
ynh_secure_remove --file="$tmpdir"

View file

@ -54,7 +54,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Upgrading dependencies..."
tmpdir="$(mktemp -d)"
ynh_setup_source --dest_dir="$tmpdir"
ynh_setup_source --dest_dir="$tmpdir" --full_replace=1
dpkg -i $tmpdir/flood-linux.deb
ynh_secure_remove --file="$tmpdir"