From 5b9092d6df5c6985979d353a99dd8f5bacef40c8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 17 Mar 2017 04:07:17 +0100 Subject: [PATCH] Rename ynh_app_dependencies to ynh_install_app_dependencies --- data/helpers.d/package | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/helpers.d/package b/data/helpers.d/package index 2bf258c53..368e61cd6 100644 --- a/data/helpers.d/package +++ b/data/helpers.d/package @@ -104,11 +104,12 @@ ynh_package_install_from_equivs () { ynh_package_is_installed "$pkgname" } -# Install dependencies with a equivs control file +# Define and install dependencies with a equivs control file +# This helper can/should only be called once per app # -# usage: ynh_app_dependencies dep [dep [...]] +# usage: ynh_install_app_dependencies dep [dep [...]] # | arg: dep - the package name to install in dependence -ynh_app_dependencies () { +ynh_install_app_dependencies () { dependencies=$@ manifest_path="../manifest.json" if [ ! -e "$manifest_path" ]; then