mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
sys-apps/hprofile: use #!/sbin/openrc-run instead of #!/sbin/runscript
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -14,6 +14,6 @@ KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i '1s:.*:#!/sbin/runscript:' hprofile.initd || die
|
||||
sed -i '1s:.*:#!/sbin/openrc-run:' hprofile.initd || die
|
||||
sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -14,6 +14,6 @@ KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i '1s:.*:#!/sbin/runscript:' hprofile.initd || die
|
||||
sed -i '1s:.*:#!/sbin/openrc-run:' hprofile.initd || die
|
||||
sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -14,6 +14,6 @@ KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i '1s:.*:#!/sbin/runscript:' hprofile.initd || die
|
||||
sed -i '1s:.*:#!/sbin/openrc-run:' hprofile.initd || die
|
||||
sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user