diff --git a/scripts/upgrade b/scripts/upgrade index 626454a..e31c9bd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -83,7 +83,7 @@ then ynh_setup_source --dest_dir="$final_path" cp -a "$tmpdir/data" "$final_path/" - cp -a "$tmpdir/tpl" "$final_path/" + cp -a -n "$tmpdir/tpl" "$final_path/" # copy without erasing existing templates (from official source) # Remove the tmp directory securely ynh_secure_remove --file="$tmpdir"