diff options
Diffstat (limited to 'dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild')
-rw-r--r-- | dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild b/dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild index 6ba6ccf65b5d..fbc0136e0e50 100644 --- a/dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild +++ b/dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild,v 1.3 2003/01/10 20:37:43 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.3.3.ebuild,v 1.4 2003/01/31 22:13:10 rphillips Exp $ MY_PN=phpMyAdmin @@ -25,6 +25,10 @@ src_install () { cd ${S} cp config.inc.php config.inc.php.orig + if [ -f /home/httpd/htdocs/phpmyadmin/config.inc.php ] ; then + cp /home/httpd/htdocs/phpmyadmin/config.inc.php ${WORKDIR} + fi + # We set these two variables so myphpadmin is able to run even if no one configured config.inc.php # - Quequero sed -e "s:PmaAbsoluteUri'] = '':PmaAbsoluteUri'] = 'http\://localhost/phpmyadmin/':" \ @@ -51,6 +55,10 @@ src_install () { dodoc ANNOUNCE.txt CREDITS ChangeLog TODO Documentation.{txt,html} \ INSTALL LICENSE RELEASE-DATE* + + if [ -f ${WORKDIR}/config.inc.php ] ; then + mv ${WORKDIR}/config.inc.php ${D}/home/httpd/htdocs/phpmyadmin + fi } pkg_postinst() { |