diff --git a/pages/04.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md b/pages/04.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md index 3ac76d15..812d63df 100644 --- a/pages/04.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md +++ b/pages/04.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md @@ -7,7 +7,43 @@ routes: default: '/packaging_apps_helpers' --- -Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/doc/generate_helper_doc.py) on 03/29/2022 (YunoHost version 4.3.6.3) +Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/doc/generate_helper_doc.py) on 05/17/2022 (YunoHost version 11.0.7) + + +## APPS + +#### ynh_install_apps +[details summary="Install others YunoHost apps" class="helper-card-subtitle text-muted"] + +**Usage**: `ynh_install_apps --apps="appfoo?domain=domain.foo&path=/foo appbar?domain=domain.bar&path=/bar&admin=USER&language=fr&is_public=1&pass?word=pass&port=666"` + +**Arguments**: +- `-a`, `--apps=`: apps to install + +**Details**:
+Requires YunoHost version *.*.* or higher. + + + +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apps#L9) +[/details] +---------------- + +#### ynh_remove_apps +[details summary="Remove other YunoHost apps" class="helper-card-subtitle text-muted"] + +**Usage**: `ynh_remove_apps` + +**Details**:
+Other YunoHost apps will be removed only if no other apps need them. + +Requires YunoHost version *.*.* or higher. + + + +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apps#L62) +[/details] +---------------- ## APT @@ -29,7 +65,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L53) [/details] ---------------- @@ -50,7 +86,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L75) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L75) [/details] ---------------- @@ -64,7 +100,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L107) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L107) [/details] ---------------- @@ -81,7 +117,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L117) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L117) [/details] ---------------- @@ -98,7 +134,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L128) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L128) [/details] ---------------- @@ -115,7 +151,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L138) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L138) [/details] ---------------- @@ -132,7 +168,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L148) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L148) [/details] ---------------- @@ -154,7 +190,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L224) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L225) [/details] ---------------- @@ -171,7 +207,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L369) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L336) [/details] ---------------- @@ -187,7 +223,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L388) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L355) [/details] ---------------- @@ -207,7 +243,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/apt#L419) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/apt#L386) [/details] ---------------- @@ -224,7 +260,6 @@ Requires YunoHost version 3.8.1 or higher. - `-d`, `--dest_path=`: destination file or directory inside the backup dir - `-b`, `--is_big`: Indicate data are big (mail, video, image ...) - `-m`, `--not_mandatory`: Indicate that if the file is missing, the backup can ignore it. -- `arg`: Deprecated arg **Details**:
This helper can be used both in a system backup hook, and in an app backup script @@ -281,7 +316,7 @@ Requires YunoHost version 3.5.0 or higher for the argument `--not_mandatory` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L64) [/details] ---------------- @@ -295,7 +330,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L180) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L179) [/details] ---------------- @@ -328,7 +363,7 @@ Requires YunoHost version 2.6.4 or higher. Use the registered path in backup_list by ynh_backup to restore the file at the right place. If `DEST_PATH` already exists and is lighter than 500 Mo, a backup will be made in -`/home/yunohost.conf/backup/`. Otherwise, the existing file is removed. +`/var/cache/yunohost/appconfbackup/`. Otherwise, the existing file is removed. if `apps/$app/etc/nginx/conf.d/$domain.d/$app.conf` exists, restore it into `/etc/nginx/conf.d/$domain.d/$app.conf` @@ -340,7 +375,7 @@ Requires YunoHost version 3.5.0 or higher for the argument --not_mandatory -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L239) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L238) [/details] ---------------- @@ -359,7 +394,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L311) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L298) [/details] ---------------- @@ -381,7 +416,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L355) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L342) [/details] ---------------- @@ -400,7 +435,7 @@ Requires YunoHost version 3.3.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L386) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L373) [/details] ---------------- @@ -423,7 +458,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L421) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L408) [/details] ---------------- @@ -446,7 +481,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/backup#L469) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/backup#L456) [/details] ---------------- @@ -460,7 +495,7 @@ Requires YunoHost version 2.7.2 or higher. [details summary="Create a dedicated fail2ban config (jail and filter conf files)" class="helper-card-subtitle text-muted"] **Usage**: `1: ynh_add_fail2ban_config --logpath=log_file --failregex=filter [--max_retry=max_retry] [--ports=ports] -2: ynh_add_fail2ban_config --use_template [--others_var="list of others variables to replace"]` +2: ynh_add_fail2ban_config --use_template` **Arguments**: - `-l`, `--logpath=`: Log file to be checked by fail2ban @@ -468,7 +503,6 @@ Requires YunoHost version 2.7.2 or higher. - `-m`, `--max_retry=`: Maximum number of retries allowed before banning IP address - default: 3 - `-p`, `--ports=`: Ports blocked for a banned IP address - default: http,https - `-t`, `--use_template`: Use this helper in template mode -- `-v`, `--others_var=`: List of others variables to replace separeted by a space for example : 'var_1 var_2 ...' **Details**:
----------------------------------------------------------------------------- @@ -524,7 +558,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/fail2ban#L65) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/fail2ban#L64) [/details] ---------------- @@ -538,7 +572,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/fail2ban#L124) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/fail2ban#L119) [/details] ---------------- @@ -566,7 +600,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/hardware#L13) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/hardware#L13) [/details] ---------------- @@ -589,7 +623,7 @@ Requires YunoHost version 3.8.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/hardware#L75) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/hardware#L75) [/details] ---------------- @@ -610,7 +644,7 @@ Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L10) [/details] ---------------- @@ -627,7 +661,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L30) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L30) [/details] ---------------- @@ -644,7 +678,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L56) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L56) [/details] ---------------- @@ -661,7 +695,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L73) [/details] ---------------- @@ -680,7 +714,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L92) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L92) [/details] ---------------- @@ -699,7 +733,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L113) [/details] ---------------- @@ -718,7 +752,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L134) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L134) [/details] ---------------- @@ -737,7 +771,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L155) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L155) [/details] ---------------- @@ -756,7 +790,7 @@ Requires YunoHost version 3.2.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L176) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L176) [/details] ---------------- @@ -776,7 +810,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L237) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L237) [/details] ---------------- @@ -791,7 +825,7 @@ Requires YunoHost version 3.6.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logging#L318) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logging#L325) [/details] ---------------- @@ -820,7 +854,7 @@ Requires YunoHost version 3.2.0 or higher for the argument `--specific_user` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logrotate#L18) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logrotate#L18) [/details] ---------------- @@ -834,7 +868,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/logrotate#L100) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/logrotate#L100) [/details] ---------------- @@ -851,7 +885,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/multimedia#L11) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/multimedia#L11) [/details] ---------------- @@ -871,7 +905,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/multimedia#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/multimedia#L64) [/details] ---------------- @@ -888,7 +922,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/multimedia#L93) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/multimedia#L93) [/details] ---------------- @@ -921,7 +955,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/mysql#L15) [/details] ---------------- @@ -939,7 +973,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/mysql#L36) [/details] ---------------- @@ -957,7 +991,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L60) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/mysql#L60) [/details] ---------------- @@ -978,7 +1012,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L128) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/mysql#L128) [/details] ---------------- @@ -997,7 +1031,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L160) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/mysql#L160) [/details] ---------------- @@ -1019,7 +1053,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L198) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/mysql#L198) [/details] ---------------- @@ -1037,7 +1071,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/mysql#L224) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/mysql#L224) [/details] ---------------- @@ -1061,7 +1095,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/network#L12) [/details] ---------------- @@ -1082,7 +1116,7 @@ Requires YunoHost version 3.8.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/network#L36) [/details] ---------------- @@ -1103,7 +1137,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L99) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/network#L99) [/details] ---------------- @@ -1124,7 +1158,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/network#L119) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/network#L119) [/details] ---------------- @@ -1152,7 +1186,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nginx#L19) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/nginx#L19) [/details] ---------------- @@ -1166,7 +1200,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nginx#L39) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/nginx#L39) [/details] ---------------- @@ -1220,7 +1254,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nodejs#L73) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/nodejs#L74) [/details] ---------------- @@ -1244,7 +1278,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nodejs#L113) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/nodejs#L114) [/details] ---------------- @@ -1262,7 +1296,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/nodejs#L190) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/nodejs#L191) [/details] ---------------- @@ -1335,7 +1369,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L66) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L66) [/details] ---------------- @@ -1354,7 +1388,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L152) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L152) [/details] ---------------- @@ -1372,7 +1406,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L169) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L169) [/details] ---------------- @@ -1395,7 +1429,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L192) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L192) [/details] ---------------- @@ -1418,7 +1452,7 @@ Requires YunoHost version 3.7.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L260) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L260) [/details] ---------------- @@ -1439,7 +1473,7 @@ Requires YunoHost version 3.7.1 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L329) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L329) [/details] ---------------- @@ -1454,7 +1488,7 @@ Requires YunoHost version 4.1.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L359) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L359) [/details] ---------------- @@ -1465,7 +1499,7 @@ Requires YunoHost version 4.1.2 or higher. **Example**: `if ynh_legacy_permissions_exists then ynh_legacy_permissions_delete_all # You can recreate the required permissions here with ynh_permission_create fi Requires YunoHost version 4.1.2 or higher.` -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/permission#L379) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/permission#L379) [/details] ---------------- @@ -1523,7 +1557,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L59) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/php#L59) [/details] ---------------- @@ -1537,7 +1571,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L250) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/php#L250) [/details] ---------------- @@ -1556,7 +1590,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L481) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/php#L483) [/details] ---------------- @@ -1576,7 +1610,7 @@ Requires YunoHost version 4.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/php#L507) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/php#L509) [/details] ---------------- @@ -1609,7 +1643,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L18) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L18) [/details] ---------------- @@ -1627,7 +1661,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L39) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L39) [/details] ---------------- @@ -1645,7 +1679,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L64) [/details] ---------------- @@ -1666,7 +1700,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L135) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L135) [/details] ---------------- @@ -1684,7 +1718,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L168) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L168) [/details] ---------------- @@ -1702,7 +1736,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L190) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L190) [/details] ---------------- @@ -1724,7 +1758,7 @@ Requires YunoHost version 2.7.13 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L228) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L228) [/details] ---------------- @@ -1742,24 +1776,7 @@ Requires YunoHost version 2.7.13 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L259) -[/details] ----------------- - -#### ynh_psql_test_if_first_run -[details summary="Create a master password and set up global settings" class="helper-card-subtitle text-muted"] - -**Usage**: `ynh_psql_test_if_first_run` - -**Details**:
-It also make sure that postgresql is installed and running -Please always call this script in install and restore scripts - -Requires YunoHost version 2.7.13 or higher. - - - -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/postgresql#L290) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/postgresql#L259) [/details] ---------------- @@ -1780,7 +1797,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L10) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/setting#L10) [/details] ---------------- @@ -1799,7 +1816,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L36) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/setting#L36) [/details] ---------------- @@ -1817,7 +1834,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L62) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/setting#L62) [/details] ---------------- @@ -1837,7 +1854,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L123) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/setting#L123) [/details] ---------------- @@ -1858,7 +1875,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/setting#L145) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/setting#L145) [/details] ---------------- @@ -1872,6 +1889,7 @@ Requires YunoHost version 2.6.4 or higher. **Arguments**: - `-l`, `--length=`: the string length to generate (default: 24) +- `-f`, `--filter=`: the kind of characters accepted in the output (default: 'A-Za-z0-9') **Returns**: the generated string @@ -1882,7 +1900,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/string#L13) [/details] ---------------- @@ -1904,7 +1922,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L37) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/string#L40) [/details] ---------------- @@ -1926,7 +1944,7 @@ Requires YunoHost version 2.7.7 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L68) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/string#L71) [/details] ---------------- @@ -1949,7 +1967,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/string#L100) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/string#L103) [/details] ---------------- @@ -1975,7 +1993,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/systemd#L15) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/systemd#L15) [/details] ---------------- @@ -1992,7 +2010,7 @@ Requires YunoHost version 2.7.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/systemd#L42) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/systemd#L38) [/details] ---------------- @@ -2014,7 +2032,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/systemd#L71) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/systemd#L67) [/details] ---------------- @@ -2038,7 +2056,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L12) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L12) [/details] ---------------- @@ -2060,7 +2078,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L33) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L33) [/details] ---------------- @@ -2078,7 +2096,7 @@ Requires YunoHost version 2.4.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L53) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L53) [/details] ---------------- @@ -2097,7 +2115,7 @@ Requires YunoHost version 2.2.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L64) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L64) [/details] ---------------- @@ -2116,7 +2134,7 @@ Requires YunoHost version 3.5.0.2 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L82) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L82) [/details] ---------------- @@ -2145,7 +2163,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L111) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L111) [/details] ---------------- @@ -2162,7 +2180,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L153) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L153) [/details] ---------------- @@ -2176,7 +2194,7 @@ Requires YunoHost version 4.1.7 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/user#L179) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/user#L179) [/details] ---------------- @@ -2197,7 +2215,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L58) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L58) [/details] ---------------- @@ -2246,7 +2264,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L102) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L102) [/details] ---------------- @@ -2272,7 +2290,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L263) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L263) [/details] ---------------- @@ -2288,11 +2306,7 @@ Requires YunoHost version 2.6.4 or higher. **Examples**: -- ` ynh_add_config --template=".env" --destination="$final_path/.env"` - - - -- ` ynh_add_config --template="../conf/.env" --destination="$final_path/.env"` +- ` ynh_add_config --template=".env" --destination="$final_path/.env" use the template file "../conf/.env"` @@ -2334,7 +2348,7 @@ Requires YunoHost version 4.1.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L348) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L347) [/details] ---------------- @@ -2378,7 +2392,7 @@ Requires YunoHost version 4.3 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L499) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L498) [/details] ---------------- @@ -2397,7 +2411,7 @@ Requires YunoHost version 4.3 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L576) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L575) [/details] ---------------- @@ -2413,7 +2427,7 @@ Requires YunoHost version 2.7.12 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L688) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L687) [/details] ---------------- @@ -2430,7 +2444,7 @@ Requires YunoHost version 2.6.4 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L740) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L718) [/details] ---------------- @@ -2450,7 +2464,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L802) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L752) [/details] ---------------- @@ -2475,7 +2489,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L832) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L782) [/details] ---------------- @@ -2498,7 +2512,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L861) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L811) [/details] ---------------- @@ -2521,7 +2535,7 @@ Requires YunoHost version 3.5.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L886) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L836) [/details] ---------------- @@ -2553,7 +2567,7 @@ Requires YunoHost version 3.8.0 or higher. -[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/6fc6a2ba4c17434803cea2553a3dc7c51cedd338/data/helpers.d/utils#L916) +[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/8a0a33a0de8846d478675acbd3d7a0ba1bbb065b/helpers/utils#L866) [/details] ----------------