summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/darkstat/darkstat-3.0.719-r1.ebuild4
-rw-r--r--net-analyzer/darkstat/darkstat-9999999.ebuild4
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 8075830d412..dd21a625d20 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 a22c4018efb..c9d630ebf3f 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"