1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Add php5-gd asked by #48

This commit is contained in:
Jean-Baptiste Holcroft 2017-10-23 16:17:55 +02:00
parent 519b65a369
commit 536b7ca02d
3 changed files with 19 additions and 0 deletions

View file

@ -58,6 +58,11 @@ ynh_app_setting_set "$app" is_public "$is_public"
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS
#================================================= #=================================================
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies php5-gd
#================================================= #=================================================
# CREATE A MYSQL DATABASE # CREATE A MYSQL DATABASE

View file

@ -21,6 +21,13 @@ final_path=$(ynh_app_setting_get "$app" final_path)
dbname=$app dbname=$app
dbuser=$app dbuser=$app
#=================================================
# REMOVE DEPENDENCIES
#=================================================
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#================================================= #=================================================
# REMOVE THE MYSQL DATABASE # REMOVE THE MYSQL DATABASE
#================================================= #=================================================

View file

@ -50,6 +50,13 @@ test ! -d $final_path \
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
# Define and install dependencies
ynh_install_app_dependencies php5-gd
#================================================= #=================================================
# RESTORE THE NGINX CONFIGURATION # RESTORE THE NGINX CONFIGURATION
#================================================= #=================================================