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

Add php5-gd dependency

This commit is contained in:
Jimmy Monin 2017-09-23 10:25:23 +02:00
parent 90d3303b28
commit 7b2e320b00
4 changed files with 17 additions and 0 deletions

View file

@ -3,6 +3,8 @@
# Common variables # Common variables
# #
pkg_dependencies="php5-gd"
# ============= FUTURE YUNOHOST HELPERS ============= # ============= FUTURE YUNOHOST HELPERS =============
# Create a dedicated fail2ban config (jail and filter conf files) # Create a dedicated fail2ban config (jail and filter conf files)

View file

@ -63,6 +63,10 @@ ynh_app_setting_set $app language "$language"
#================================================= #=================================================
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS
#================================================= #=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies "$pkg_dependencies"
#================================================= #=================================================
# CREATE A MYSQL DB # CREATE A MYSQL DB

View file

@ -22,6 +22,11 @@ domain=$(ynh_app_setting_get "$app" domain)
#================================================= #=================================================
# STANDARD REMOVE # STANDARD REMOVE
#================================================= #=================================================
# REMOVE DEPENDENCIES
#=================================================
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#================================================= #=================================================
# REMOVE THE MYSQL DB # REMOVE THE MYSQL DB

View file

@ -94,6 +94,12 @@ if [ -f "/etc/yunohost/apps/$app/scripts/backup" ] ; then
ynh_abort_if_errors # Stop script if an error is detected ynh_abort_if_errors # Stop script if an error is detected
fi fi
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies "$pkg_dependencies"
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================