diff --git a/scripts/restore b/scripts/restore index 39efbc7..3502225 100755 --- a/scripts/restore +++ b/scripts/restore @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index cddd324..5327702 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"