From 2eca22c4c38f7d3b49f227654d303958c94b2eaa Mon Sep 17 00:00:00 2001 From: polytan02 Date: Fri, 24 Feb 2017 13:28:52 +0000 Subject: [PATCH] Define ${DEPS_PKG_NAME} as z-push-deps --- scripts/install | 2 +- scripts/remove | 4 ++-- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index cfba1c1..7ed291b 100755 --- a/scripts/install +++ b/scripts/install @@ -68,7 +68,7 @@ CHECK_DOMAINPATH #sudo apt-get install php-soap php5-imap libawl-php php5-xsl -y # 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" diff --git a/scripts/remove b/scripts/remove index 486ad96..abf212d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -16,8 +16,8 @@ sudo rm -f /etc/php5/fpm/pool.d/$app.conf sudo rm -f /etc/logrotate.d/$app # Remove app dependencies -if ynh_package_is_installed "$DEPS_PKG_NAME"; then - ynh_package_autoremove "$DEPS_PKG_NAME" +if ynh_package_is_installed "z-push-deps"; then + ynh_package_autoremove "z-push-deps" fi # Restart of services diff --git a/scripts/restore b/scripts/restore index 7056219..b8ce04d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -18,7 +18,7 @@ final_phpconf=$(ynh_app_setting_get $app final_phpconf) #sudo apt-get update -y #sudo apt-get install php-soap php5-imap libawl-php php5-xsl # 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" diff --git a/scripts/upgrade b/scripts/upgrade index 05860fa..ec63a32 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -58,7 +58,7 @@ fi # Prereqs #sudo apt-get install php-soap php5-imap libawl-php php5-xsl # 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"