Gentoo Archives: gentoo-commits

From: Thomas Kahle <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/tt-rss/
Date: Wed, 12 Oct 2016 21:26:06
Message-Id: 1476307554.ba7b2200112f1aa1381176241cce2147e42f964a.tomka@gentoo
1 commit: ba7b2200112f1aa1381176241cce2147e42f964a
2 Author: Thomas Kahle <tomka <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 12 21:10:59 2016 +0000
4 Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 12 21:25:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba7b2200
7
8 www-apps/tt-rss: Fix mysql->mysqli transition
9
10 Package-Manager: portage-2.3.0
11
12 www-apps/tt-rss/tt-rss-20160527.ebuild | 2 +-
13 www-apps/tt-rss/tt-rss-20160930.ebuild | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/www-apps/tt-rss/tt-rss-20160527.ebuild b/www-apps/tt-rss/tt-rss-20160527.ebuild
17 index 8c401c9..8b5964d 100644
18 --- a/www-apps/tt-rss/tt-rss-20160527.ebuild
19 +++ b/www-apps/tt-rss/tt-rss-20160527.ebuild
20 @@ -38,7 +38,7 @@ src_prepare() {
21 # Customize config.php-dist so that the right 'DB_TYPE' is already set (according to the USE flag)
22 einfo "Customizing config.php-dist..."
23
24 - if use mysql && ! use postgres; then
25 + if use mysqli && ! use postgres; then
26 sed -i \
27 -e "/define('DB_TYPE',/{s:pgsql:mysql:}" \
28 config.php-dist || die
29
30 diff --git a/www-apps/tt-rss/tt-rss-20160930.ebuild b/www-apps/tt-rss/tt-rss-20160930.ebuild
31 index 8c401c9..8b5964d 100644
32 --- a/www-apps/tt-rss/tt-rss-20160930.ebuild
33 +++ b/www-apps/tt-rss/tt-rss-20160930.ebuild
34 @@ -38,7 +38,7 @@ src_prepare() {
35 # Customize config.php-dist so that the right 'DB_TYPE' is already set (according to the USE flag)
36 einfo "Customizing config.php-dist..."
37
38 - if use mysql && ! use postgres; then
39 + if use mysqli && ! use postgres; then
40 sed -i \
41 -e "/define('DB_TYPE',/{s:pgsql:mysql:}" \
42 config.php-dist || die