diff --git a/packaging_apps.md b/packaging_apps.md index df5e2bb6..78a256e6 100644 --- a/packaging_apps.md +++ b/packaging_apps.md @@ -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; diff --git a/sitemap.md b/sitemap.md index 62e88ceb..4075abbc 100644 --- a/sitemap.md +++ b/sitemap.md @@ -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)