From 2b63f01410f121bdf2b5f7f75d7ecd959ad95311 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Thu, 4 Jul 2024 22:31:02 +0200 Subject: [PATCH] Fix `ynh_print_warn` --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 62c7c5f..790cbfd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,7 +27,7 @@ if [ ! -L "$install_dir/upload" ]; then if [ -z "$(ls -A "$data_dir/upload")" ]; then rmdir "$data_dir/upload" else - ynh_warn "$data_dir/upload is not empty, moving to $data_dir/upload_backup. You can decide to remove it or merge it with the new upload dir." + ynh_print_warn "$data_dir/upload is not empty, moving to $data_dir/upload_backup. You can decide to remove it or merge it with the new upload dir." mv "$data_dir/upload" "$data_dir/upload_backup" fi mv "$install_dir/upload" "$data_dir/upload"