diff --git a/scripts/install b/scripts/install index d29d3b9..fdcdc26 100644 --- a/scripts/install +++ b/scripts/install @@ -59,7 +59,7 @@ db_name=movim ynh_mysql_create_db "$db_name" "$db_user" "$db_pwd" # Install packages -ynh_package_install php5-gd php5-curl php5-imagick php5-cli php5-zmq +ynh_install_app_dependencies php5-gd php5-curl php5-imagick php5-cli php5-zmq # Download Movim source code tmp_path=/tmp/movim-git diff --git a/scripts/remove b/scripts/remove index 91866fb..2bd9960 100644 --- a/scripts/remove +++ b/scripts/remove @@ -29,6 +29,13 @@ else sudo rm -f /etc/init.d/movim fi +#================================================= +# REMOVE DEPENDENCIES +#================================================= + +# Remove metapackage and its dependencies +ynh_remove_app_dependencies + # Drop MySQL database and user db_user=movim db_name=movim diff --git a/scripts/upgrade b/scripts/upgrade index 61a4a08..603d936 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -24,7 +24,7 @@ timezone=`cat /etc/timezone` && echo "Detected timezone: $timezone" # Since Movim 0.13, zmq is required -ynh_package_install php5-zmq +ynh_install_app_dependencies php5-zmq # Init git repository as needed if [ ! -d "${DESTDIR}/.git" ]; then