mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
Merge pull request #133 from YunoHost-Apps/ynh_print_warn
Fix `ynh_print_warn`
This commit is contained in:
commit
186d3eec35
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue