From 99e98ee65eeb48eb434ae6942c89906bafb220c4 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Fri, 24 Feb 2017 14:34:38 +0000 Subject: [PATCH] Use of ynh_package_install_from_equivs --- scripts/install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 62ded26..c03831d 100644 --- a/scripts/install +++ b/scripts/install @@ -28,8 +28,12 @@ CHECK_DOMAINPATH # Vérifie la disponibilité du path et du domaine. CHECK_FINALPATH # Vérifie que le dossier de destination n'est pas déjà utilisé. # Install dependency to convert tracks to a readable format for the browser -sudo apt-get update -sudo apt-get -y -qq install php5-mysql +# sudo apt-get update +# sudo apt-get -y -qq install php5-mysql + +# Install dependencies using Helpers +ynh_package_install_from_equivs ../conf/abantecart-deps.control \ +|| ynh_die "Unable to install dependencies" # Check password strength [[ ${#passwd} -gt 5 ]] || ynh_die \