summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-11-04 05:55:35 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-11-04 05:55:35 +0000
commit4e7cb7248d76c7b123c0196c96ef9cc86c45407b (patch)
tree4f55a7cc44173bc0adf3a73c053d734540553220 /net-proxy/c-icap/c-icap-0.2.2.ebuild
parentDon't try to install the postscript doc since it's not built by default anymo... (diff)
downloadgentoo-2-4e7cb7248d76c7b123c0196c96ef9cc86c45407b.tar.gz
gentoo-2-4e7cb7248d76c7b123c0196c96ef9cc86c45407b.tar.bz2
gentoo-2-4e7cb7248d76c7b123c0196c96ef9cc86c45407b.zip
Remove /var/run so that it does not trigger portage's symlink protection on clean.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'net-proxy/c-icap/c-icap-0.2.2.ebuild')
-rw-r--r--net-proxy/c-icap/c-icap-0.2.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-proxy/c-icap/c-icap-0.2.2.ebuild b/net-proxy/c-icap/c-icap-0.2.2.ebuild
index 3f569bf41888..73f0a62913e8 100644
--- a/net-proxy/c-icap/c-icap-0.2.2.ebuild
+++ b/net-proxy/c-icap/c-icap-0.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild,v 1.1 2012/09/24 15:39:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/c-icap/c-icap-0.2.2.ebuild,v 1.2 2012/11/04 05:55:35 flameeyes Exp $
EAPI=4
@@ -89,6 +89,10 @@ src_install() {
insopts -m0644
insinto /etc/logrotate.d
newins "${FILESDIR}"/${PN}.logrotate ${PN}
+
+ # avoid triggering portage's symlink protection; this is handled by
+ # the init script anyway.
+ rm -rf "${D}"/var/run
}
pkg_postinst() {