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

[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1

This commit is contained in:
Yunohost-Bot 2024-03-11 16:06:18 +01:00 committed by Félix Piédallu
parent 2eff6088cc
commit e4dd334d9d

View file

@ -63,9 +63,9 @@ cp -ar "$install_dir/plugins" "$tmpdir/plugins"
ynh_secure_remove --file="$install_dir"
if [ "$version" = "Enterprise" ]; then
ynh_setup_source --dest_dir="$install_dir" --source_id="enterprise"
ynh_setup_source --dest_dir="$install_dir" --source_id="enterprise" --full_replace=1
elif [ "$version" = "Team" ]; then
ynh_setup_source --dest_dir="$install_dir" --source_id="main"
ynh_setup_source --dest_dir="$install_dir" --source_id="main" --full_replace=1
fi
# Copy the admin saved settings and plugins from tmp directory to final path