From: Mike Frysinger Date: Mon, 21 Nov 2011 22:37:21 +0000 (+0000) Subject: Move baselayout-1 internal cleanup to baselayout-2 ebuilds as suggested by William. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5738ed9fbbe24ddeb47961bce15ee231746842ba;p=gentoo.git Move baselayout-1 internal cleanup to baselayout-2 ebuilds as suggested by William. Package-Manager: portage-2.2.0_alpha75/cvs/Linux x86_64 --- diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog index 09ac91f96018..399ee42e51be 100644 --- a/sys-apps/openrc/ChangeLog +++ b/sys-apps/openrc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/openrc # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.175 2011/11/21 03:11:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.176 2011/11/21 22:37:21 vapier Exp $ + + 21 Nov 2011; Mike Frysinger openrc-0.9.4.ebuild, + openrc-9999.ebuild: + Move baselayout-1 internal cleanup to baselayout as suggested by William. 21 Nov 2011; Mike Frysinger openrc-0.9.4.ebuild, openrc-9999.ebuild: diff --git a/sys-apps/openrc/openrc-0.9.4.ebuild b/sys-apps/openrc/openrc-0.9.4.ebuild index 4275d3ab2b1f..261e3b041699 100644 --- a/sys-apps/openrc/openrc-0.9.4.ebuild +++ b/sys-apps/openrc/openrc-0.9.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-0.9.4.ebuild,v 1.3 2011/11/21 03:11:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-0.9.4.ebuild,v 1.4 2011/11/21 22:37:21 vapier Exp $ EAPI=4 @@ -419,10 +419,6 @@ pkg_postinst() { # update the dependency tree after touching all files #224171 [[ "${ROOT}" = "/" ]] && "${ROOT}/${LIBDIR}"/rc/bin/rc-depend -u - # baselayout leaves behind a lot of .keep files, so let's clean them up - find "${ROOT}"/lib*/rcscripts/ -name .keep -exec rm -f {} + - find "${ROOT}"/lib*/rcscripts/ -depth -type d -exec rmdir {} + 2>/dev/null - elog "You should now update all files in /etc, using etc-update" elog "or equivalent before restarting any services or this host." elog diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild index ca97c8b5ff39..9b2494d24566 100644 --- a/sys-apps/openrc/openrc-9999.ebuild +++ b/sys-apps/openrc/openrc-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.91 2011/11/21 03:11:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.92 2011/11/21 22:37:21 vapier Exp $ EAPI=4 @@ -415,10 +415,6 @@ pkg_postinst() { # update the dependency tree after touching all files #224171 [[ "${ROOT}" = "/" ]] && "${ROOT}/${LIBDIR}"/rc/bin/rc-depend -u - # baselayout leaves behind a lot of .keep files, so let's clean them up - find "${ROOT}"/lib*/rcscripts/ -name .keep -exec rm -f {} + - find "${ROOT}"/lib*/rcscripts/ -depth -type d -exec rmdir {} + 2>/dev/null - elog "You should now update all files in /etc, using etc-update" elog "or equivalent before restarting any services or this host." elog