commit:     ba7b2200112f1aa1381176241cce2147e42f964a
Author:     Thomas Kahle <tomka <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 21:10:59 2016 +0000
Commit:     Thomas Kahle <tomka <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 21:25:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba7b2200

www-apps/tt-rss: Fix mysql->mysqli transition

Package-Manager: portage-2.3.0

 www-apps/tt-rss/tt-rss-20160527.ebuild | 2 +-
 www-apps/tt-rss/tt-rss-20160930.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/tt-rss/tt-rss-20160527.ebuild 
b/www-apps/tt-rss/tt-rss-20160527.ebuild
index 8c401c9..8b5964d 100644
--- a/www-apps/tt-rss/tt-rss-20160527.ebuild
+++ b/www-apps/tt-rss/tt-rss-20160527.ebuild
@@ -38,7 +38,7 @@ src_prepare() {
        # Customize config.php-dist so that the right 'DB_TYPE' is already set 
(according to the USE flag)
        einfo "Customizing config.php-dist..."
 
-       if use mysql && ! use postgres; then
+       if use mysqli && ! use postgres; then
                        sed -i \
                                -e "/define('DB_TYPE',/{s:pgsql:mysql:}" \
                                config.php-dist || die

diff --git a/www-apps/tt-rss/tt-rss-20160930.ebuild 
b/www-apps/tt-rss/tt-rss-20160930.ebuild
index 8c401c9..8b5964d 100644
--- a/www-apps/tt-rss/tt-rss-20160930.ebuild
+++ b/www-apps/tt-rss/tt-rss-20160930.ebuild
@@ -38,7 +38,7 @@ src_prepare() {
        # Customize config.php-dist so that the right 'DB_TYPE' is already set 
(according to the USE flag)
        einfo "Customizing config.php-dist..."
 
-       if use mysql && ! use postgres; then
+       if use mysqli && ! use postgres; then
                        sed -i \
                                -e "/define('DB_TYPE',/{s:pgsql:mysql:}" \
                                config.php-dist || die

Reply via email to