| 1 | # Copyright 1999-2004 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2004 Gentoo Technologies, Inc. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.11 2004/04/29 10:18:14 stuart Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.12 2004/04/29 13:53:24 stuart Exp $ |
| 4 | # |
4 | # |
| 5 | # eclass/webapp.eclass |
5 | # eclass/webapp.eclass |
| 6 | # Eclass for installing applications to run under a web server |
6 | # Eclass for installing applications to run under a web server |
| 7 | # |
7 | # |
| 8 | # Part of the implementation of GLEP #11 |
8 | # Part of the implementation of GLEP #11 |
| … | |
… | |
| 324 | fi |
324 | fi |
| 325 | else |
325 | else |
| 326 | einfo "${PN}-${PVR} is not installed - using install mode" |
326 | einfo "${PN}-${PVR} is not installed - using install mode" |
| 327 | fi |
327 | fi |
| 328 | |
328 | |
| 329 | my_cmd="/usr/sbin/webapp-config $my_mode -u root -d $my_dir ${PN} ${PVR}" |
329 | my_cmd="/usr/sbin/webapp-config $my_mode -h localhost -u root -d $my_dir ${PN} ${PVR}" |
| 330 | einfo "Running $my_cmd" |
330 | einfo "Running $my_cmd" |
| 331 | $my_cmd |
331 | $my_cmd |
| 332 | fi |
332 | fi |
| 333 | |
333 | |
| 334 | return 0 |
334 | return 0 |