From 0f5032662460215f592f585823c647511b525e59 Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Fri, 31 Mar 2017 15:37:58 +0200 Subject: [PATCH] =?UTF-8?q?[fix]=20Sync=20packaging=20helpers=20doc=20fren?= =?UTF-8?q?ch=20=E2=86=92=20english?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The english version was massively out-of-date. It now provides the same information as the french version. --- packaging_apps_helpers.md | 285 +++++++++++++++++++++++++++++++------- 1 file changed, 232 insertions(+), 53 deletions(-) diff --git a/packaging_apps_helpers.md b/packaging_apps_helpers.md index eb087f80..72602ba2 100644 --- a/packaging_apps_helpers.md +++ b/packaging_apps_helpers.md @@ -2,85 +2,264 @@ ## Shell helpers -Since YunoHost 2.4 release, **new shell helpers** are available to ease packaging, in particular for common tasks like password generation, MySQL database creation… +Since YunoHost 2.4 release, **new shell helpers** are available to ease common packaging tasks like password generation, MySQL database creation… -Examples are available in the [example application](https://github.com/YunoHost/example_ynh/blob/master/scripts/install). We advise to use them. +Usage examples are available in the [example application](https://github.com/YunoHost/example_ynh/blob/master/scripts/install). We advise to use them. You can find them on this [repository](https://github.com/YunoHost/yunohost/blob/unstable/data/helpers.d). To use them, you need to add following lines in the shell scripts: ```bash # Source app helpers -. /usr/share/yunohost/helpers +source /usr/share/yunohost/helpers ``` - +> This commands rebuilds the SSO configuration. It is called automatically at the end of any script, but you may want to call it by hand before.