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:
parent
3b4b90540d
commit
2eca22c4c3
4 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue