1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/abantecart_ynh.git synced 2024-09-03 18:06:16 +02:00

Use of ynh_package_install_from_equivs

This commit is contained in:
polytan02 2017-02-24 14:34:38 +00:00 committed by GitHub
parent a034498712
commit 99e98ee65e

View file

@ -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 \