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:
parent
a034498712
commit
99e98ee65e
1 changed files with 6 additions and 2 deletions
|
@ -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é.
|
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
|
# Install dependency to convert tracks to a readable format for the browser
|
||||||
sudo apt-get update
|
# sudo apt-get update
|
||||||
sudo apt-get -y -qq install php5-mysql
|
# 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
|
# Check password strength
|
||||||
[[ ${#passwd} -gt 5 ]] || ynh_die \
|
[[ ${#passwd} -gt 5 ]] || ynh_die \
|
||||||
|
|
Loading…
Add table
Reference in a new issue