1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00

Fix ynh_print_warn

This commit is contained in:
Mateusz 2024-07-04 22:31:02 +02:00 committed by GitHub
parent a2f7f670e3
commit 2b63f01410
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"