summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-04-15 03:43:47 +0000
committerWilliam Hubbs <williamh@gentoo.org>2011-04-15 03:43:47 +0000
commitdfc1f5cd77a0fee2c2deb5557c04dababaf1965b (patch)
tree3f635056e7115e3cd7ea0723b52858101627914b /sys-apps/openrc/openrc-9999.ebuild
parentDisable consolefont on hppa by default for bug #228889, thanks to Jeroen (diff)
downloadgentoo-2-dfc1f5cd77a0fee2c2deb5557c04dababaf1965b.tar.gz
gentoo-2-dfc1f5cd77a0fee2c2deb5557c04dababaf1965b.tar.bz2
gentoo-2-dfc1f5cd77a0fee2c2deb5557c04dababaf1965b.zip
Fix conf.d/local -> local.d transition for bug #363637.
(Portage version: 2.2.0_alpha29/cvs/Linux i686)
Diffstat (limited to 'sys-apps/openrc/openrc-9999.ebuild')
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 77599d6bf1a3..f4dd82d23d1a 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.80 2011/04/15 03:27:29 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.81 2011/04/15 03:43:47 williamh Exp $
EAPI="1"
@@ -345,11 +345,12 @@ migrate_from_baselayout_1() {
fi
# Handle the conf.d/local.{start,stop} -> local.d transition
- if path_exists -o "${ROOT}"/etc/conf.d/local.{start,stop} ; then
- elog "Moving your /etc/conf.d/local.{start,stop} files to /etc/local.d"
- mv "${ROOT}"/etc/conf.d/local.start "${ROOT}"/local.d/baselayout1.start
- mv "${ROOT}"/etc/conf.d/local.stop "${ROOT}"/local.d/baselayout1.stop
- chmod +x "${ROOT}"/local.d/*{start,stop}
+ if path_exists -o "${ROOT}"etc/conf.d/local.{start,stop} ; then
+ elog "Moving your ${ROOT}etc/conf.d/local.{start,stop}"
+ elog "files to ${ROOT}etc/local.d"
+ mv "${ROOT}"etc/conf.d/local.start "${ROOT}"etc/local.d/baselayout1.start
+ mv "${ROOT}"etc/conf.d/local.stop "${ROOT}"etc/local.d/baselayout1.stop
+ chmod +x "${ROOT}"etc/local.d/*{start,stop}
fi
}