1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Define ${DEPS_PKG_NAME} as z-push-deps

This commit is contained in:
polytan02 2017-02-24 13:28:52 +00:00
parent 3b4b90540d
commit 2eca22c4c3
4 changed files with 5 additions and 5 deletions

View file

@ -68,7 +68,7 @@ CHECK_DOMAINPATH
#sudo apt-get install php-soap php5-imap libawl-php php5-xsl -y #sudo apt-get install php-soap php5-imap libawl-php php5-xsl -y
# Install dependencies using Helpers # Install dependencies using Helpers
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \ ynh_package_install_from_equivs ../conf/z-push-deps.control \
|| ynh_die "Unable to install dependencies" || ynh_die "Unable to install dependencies"

View file

@ -16,8 +16,8 @@ sudo rm -f /etc/php5/fpm/pool.d/$app.conf
sudo rm -f /etc/logrotate.d/$app sudo rm -f /etc/logrotate.d/$app
# Remove app dependencies # Remove app dependencies
if ynh_package_is_installed "$DEPS_PKG_NAME"; then if ynh_package_is_installed "z-push-deps"; then
ynh_package_autoremove "$DEPS_PKG_NAME" ynh_package_autoremove "z-push-deps"
fi fi
# Restart of services # Restart of services

View file

@ -18,7 +18,7 @@ final_phpconf=$(ynh_app_setting_get $app final_phpconf)
#sudo apt-get update -y #sudo apt-get update -y
#sudo apt-get install php-soap php5-imap libawl-php php5-xsl #sudo apt-get install php-soap php5-imap libawl-php php5-xsl
# Install dependencies using Helpers # Install dependencies using Helpers
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \ ynh_package_install_from_equivs ../conf/z-push-deps.control \
|| ynh_die "Unable to install dependencies" || ynh_die "Unable to install dependencies"

View file

@ -58,7 +58,7 @@ fi
# Prereqs # Prereqs
#sudo apt-get install php-soap php5-imap libawl-php php5-xsl #sudo apt-get install php-soap php5-imap libawl-php php5-xsl
# Install dependencies using Helpers # Install dependencies using Helpers
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \ ynh_package_install_from_equivs ../conf/z-push-deps.control \
|| ynh_die "Unable to install dependencies" || ynh_die "Unable to install dependencies"