1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

[fix] with a newer helper ynh_install_app_dependencies

This commit is contained in:
magikcypress 2017-07-11 14:33:25 +02:00
parent 9ed0ba2932
commit 70fc1b83fd
No known key found for this signature in database
GPG key ID: 3B3C7CD61957AC9A
4 changed files with 8 additions and 25 deletions

View file

@ -1,20 +0,0 @@
Section: misc
Priority: optional
Homepage: https://roundcube.net/
Standards-Version: 3.9.2
Package: roundcube-deps
Version: 1.2-1
Depends: php5-cli, php5-common, php5-intl, php5-json, php5-mcrypt
, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8
, php-net-smtp, php-net-socket, php-crypt-gpg
, php-net-ldap2, php-net-ldap3
Architecture: all
Description: meta package for roundcube dependencies
RoundCube Webmail is a browser-based multilingual IMAP client with an
application-like user interface. It provides full functionality expected
from an e-mail client, including MIME support, address book, folder
manipulation and message filters.
.
.
This meta-package is only responsible of installing its dependencies.

View file

@ -2,9 +2,6 @@
# Common variables # Common variables
# #
# Package name for Roundcube dependencies
DEPS_PKG_NAME="roundcube-deps"
# App package root directory should be the parent folder # App package root directory should be the parent folder
PKGDIR=$(cd ../; pwd) PKGDIR=$(cd ../; pwd)

View file

@ -42,7 +42,10 @@ grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || {
} }
# Install dependencies # Install dependencies
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control ynh_install_app_dependencies php5-cli php5-common php5-intl php5-json php5-mcrypt \
php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 \
php-net-smtp php-net-socket php-crypt-gpg \
php-net-ldap2 php-net-ldap3
# Create system user dedicace for this app # Create system user dedicace for this app
ynh_system_user_create $app ynh_system_user_create $app

View file

@ -41,7 +41,10 @@ grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || {
} }
# Install dependencies # Install dependencies
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control ynh_install_app_dependencies php5-cli php5-common php5-intl php5-json php5-mcrypt \
php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 \
php-net-smtp php-net-socket php-crypt-gpg \
php-net-ldap2 php-net-ldap3
# Create system user dedicace for this app # Create system user dedicace for this app
ynh_system_user_create $app ynh_system_user_create $app