diff --git a/conf/roundcube-deps.control b/conf/roundcube-deps.control deleted file mode 100644 index 55503a8..0000000 --- a/conf/roundcube-deps.control +++ /dev/null @@ -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. diff --git a/scripts/_common.sh b/scripts/_common.sh index 9ef0dfe..b88d857 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -2,9 +2,6 @@ # Common variables # -# Package name for Roundcube dependencies -DEPS_PKG_NAME="roundcube-deps" - # App package root directory should be the parent folder PKGDIR=$(cd ../; pwd) diff --git a/scripts/install b/scripts/install index 1ce385e..498ca15 100644 --- a/scripts/install +++ b/scripts/install @@ -42,7 +42,10 @@ grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || { } # 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 ynh_system_user_create $app diff --git a/scripts/upgrade b/scripts/upgrade index 722b8d4..66f7a74 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,7 +41,10 @@ grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || { } # 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 ynh_system_user_create $app