www-apps/tt-rss: Fix mysql->mysqli transition
authorThomas Kahle <tomka@gentoo.org>
Wed, 12 Oct 2016 21:10:59 +0000 (23:10 +0200)
committerThomas Kahle <tomka@gentoo.org>
Wed, 12 Oct 2016 21:25:54 +0000 (23:25 +0200)
Package-Manager: portage-2.3.0

www-apps/tt-rss/tt-rss-20160527.ebuild
www-apps/tt-rss/tt-rss-20160930.ebuild

index 8c401c951217455dde70584fb175013ee3cd052b..8b5964df08ff986c0f07a72951d32afca056166f 100644 (file)
@@ -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
index 8c401c951217455dde70584fb175013ee3cd052b..8b5964df08ff986c0f07a72951d32afca056166f 100644 (file)
@@ -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