/[gentoo-x86]/eclass/webapp.eclass
Gentoo

Diff of /eclass/webapp.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.45 Revision 1.46
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
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.45 2006/10/14 20:27:21 swegener Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.46 2006/12/25 08:07:06 zmedico 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
499 # if USE=-vhosts, then we want to remove the old version, because 499 # if USE=-vhosts, then we want to remove the old version, because
500 # the user is relying on portage to do the magical thing for it 500 # the user is relying on portage to do the magical thing for it
501 501
502 if [ "${IS_UPGRADE}" = "1" ] ; then 502 if [ "${IS_UPGRADE}" = "1" ] ; then
503 elog "Removing old version ${REMOVE_PKG}" 503 elog "Removing old version ${REMOVE_PKG}"
504 ewarn "This action may result in a deadlock. Please refer to"
505 ewarn "http://bugs.gentoo.org/show_bug.cgi?id=124440 for more information."
504 506
505 emerge -C "${REMOVE_PKG}" 507 emerge -C "${REMOVE_PKG}"
506 fi 508 fi
507 else 509 else
508 # vhosts flag is on 510 # vhosts flag is on

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20