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

Fix install after remove

This commit is contained in:
Salamandar 2024-01-23 19:35:26 +01:00
parent 0f5bf89c44
commit 976000f0bc

View file

@ -27,7 +27,7 @@ ynh_setup_source --dest_dir="$install_dir"
# Move upload directory to data_dir, with a symlink # Move upload directory to data_dir, with a symlink
if [ -d "$data_dir/upload" ]; then if [ -d "$data_dir/upload" ]; then
ynh_warn "An upload directory already exist, reusing it." ynh_print_warn "An upload directory already exist, reusing it."
else else
mv "$install_dir/upload" "$data_dir" mv "$install_dir/upload" "$data_dir"
fi fi