mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
[enh] add links on english pages toward trap page.
This commit is contained in:
parent
ee36fe894a
commit
0057ed952f
2 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,7 @@ yunohost app install https://github.com/author/my_app_package.git
|
|||
### Enhance package
|
||||
Here is a list of best practices for application install scripts :
|
||||
* scripts should use `sudo cp -a ../sources/. $final_path` instead of `sudo cp -a ../sources/* $final_path`;
|
||||
* install script must contain support in case of script errors to delete residuals files thanks to `set -e` and `trap`;
|
||||
* install script must contain support in case of script errors to delete residuals files thanks to `set -e` and [`trap`](packaging_apps_trap_fr);
|
||||
* install script should use command line method instead of curl call through web install form;
|
||||
* install script should save install answers;
|
||||
* application sources should be checked with a control sum (sha256, sha1 or md5) or a PGP signature;
|
||||
|
|
|
@ -86,6 +86,7 @@
|
|||
* [Nginx configuration](packaging_apps_nginx_conf_en)
|
||||
* [Multi-instance](packaging_apps_multiinstance_en)
|
||||
* [Helpers](packaging_apps_helpers_en)
|
||||
* [Trap usage](packaging_apps_trap_fr)
|
||||
* [Applications in progress](/apps_in_progress_en)
|
||||
* [Wishlist of applications](/apps_wishlist_en)
|
||||
* [Creation of system packages](/build_system_en)
|
||||
|
|
Loading…
Reference in a new issue