summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-04-02 15:46:21 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-04-02 15:46:21 +0000
commit733bea14181bcc95b7a1d4275579963ec9250244 (patch)
tree33f5ae5864dfad5cd06b967a106b42b533c6ad9c /www-servers/resin/resin-4.0.5.ebuild
parentamd64 stable (diff)
downloadgentoo-2-733bea14181bcc95b7a1d4275579963ec9250244.tar.gz
gentoo-2-733bea14181bcc95b7a1d4275579963ec9250244.tar.bz2
gentoo-2-733bea14181bcc95b7a1d4275579963ec9250244.zip
Add symlink for hosts for easy virtual host management.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'www-servers/resin/resin-4.0.5.ebuild')
-rw-r--r--www-servers/resin/resin-4.0.5.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/www-servers/resin/resin-4.0.5.ebuild b/www-servers/resin/resin-4.0.5.ebuild
index b7b1c6b40249..6c965e3082cf 100644
--- a/www-servers/resin/resin-4.0.5.ebuild
+++ b/www-servers/resin/resin-4.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-4.0.5.ebuild,v 1.1 2010/04/02 15:41:27 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-4.0.5.ebuild,v 1.2 2010/04/02 15:46:21 nelchael Exp $
EAPI="2"
@@ -112,10 +112,12 @@ src_install() {
dosym /var/log/resin /usr/share/resin/log
dodir /var/lib/resin/webapps
+ keepdir /var/lib/resin/hosts
mv "${D}"/${RESIN_HOME}/webapps/* "${D}/var/lib/resin/webapps" || \
die "mv of webapps failed"
rm -rf "${D}/${RESIN_HOME}/webapps"
dosym /var/lib/resin/webapps ${RESIN_HOME}/webapps
+ dosym /var/lib/resin/hosts ${RESIN_HOME}/hosts
dodir /usr/lib/resin/project-jars
cp -a "${S}"/project-jars/*.jar "${D}/usr/lib/resin/project-jars"