diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-07-03 11:53:09 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-07-03 11:55:03 +0200 |
commit | 8de80582707cc4fc79c6b0b028acbd5aa6e136a7 (patch) | |
tree | 80434c0825982c53ed03bbad238764a25bac5207 /net-analyzer | |
parent | net-analyzer/darkstat: Add live ebuild (diff) | |
download | gentoo-8de80582707cc4fc79c6b0b028acbd5aa6e136a7.tar.gz gentoo-8de80582707cc4fc79c6b0b028acbd5aa6e136a7.tar.bz2 gentoo-8de80582707cc4fc79c6b0b028acbd5aa6e136a7.zip |
net-analyzer/darkstat: Update ROOT mangling for EAPI=7
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild | 4 | ||||
-rw-r--r-- | net-analyzer/darkstat/darkstat-9999999.ebuild | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild b/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild index 8075830d4121..dd21a625d201 100644 --- a/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild +++ b/net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild @@ -60,7 +60,9 @@ pkg_preinst() { pkg_postinst() { # Workaround bug #141619 - DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat` + DARKSTAT_CHROOT_DIR=$( + sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"/etc/conf.d/darkstat + ) chown darkstat:0 "${ROOT}${DARKSTAT_CHROOT_DIR}" elog "To start different darkstat instances which will listen on a different" diff --git a/net-analyzer/darkstat/darkstat-9999999.ebuild b/net-analyzer/darkstat/darkstat-9999999.ebuild index a22c4018efbd..c9d630ebf3f8 100644 --- a/net-analyzer/darkstat/darkstat-9999999.ebuild +++ b/net-analyzer/darkstat/darkstat-9999999.ebuild @@ -60,7 +60,9 @@ pkg_preinst() { pkg_postinst() { # Workaround bug #141619 - DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat` + DARKSTAT_CHROOT_DIR=$( + sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"/etc/conf.d/darkstat + ) chown darkstat:0 "${ROOT}${DARKSTAT_CHROOT_DIR}" elog "To start different darkstat instances which will listen on a different" |