fix missleading example for ynh_setup_source

there shouldn't be any trailing / for folders for ynh_setup_source
This commit is contained in:
Florian 2023-09-11 20:48:47 +03:00 committed by GitHub
parent fba2ff1774
commit 564973c456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2286,7 +2286,7 @@ Requires YunoHost version 2.6.4 or higher.
**Arguments**: **Arguments**:
- `-d`, `--dest_dir=`: Directory where to setup sources - `-d`, `--dest_dir=`: Directory where to setup sources
- `-s`, `--source_id=`: Name of the source, defaults to `main` (when the sources resource exists in manifest.toml) or (legacy) `app` otherwise - `-s`, `--source_id=`: Name of the source, defaults to `main` (when the sources resource exists in manifest.toml) or (legacy) `app` otherwise
- `-k`, `--keep=`: Space-separated list of files/folders that will be backup/restored in $dest_dir, such as a config file you don't want to overwrite. For example 'conf.json secrets.json logs/' - `-k`, `--keep=`: Space-separated list of files/folders that will be backup/restored in $dest_dir, such as a config file you don't want to overwrite. For example 'conf.json secrets.json logs' (no trailing `/` for folders)
- `-r`, `--full_replace=`: Remove previous sources before installing new sources - `-r`, `--full_replace=`: Remove previous sources before installing new sources
**Details**:<br/> **Details**:<br/>