summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-01-16 23:24:17 -0500
committerMike Gilbert <floppym@gentoo.org>2022-01-16 23:26:30 -0500
commit8da0fc9360d027258c3a9a727001c10de50b63b0 (patch)
tree0b00298dc7c66bd62013bb875865ab664e09597a /net-misc
parentdev-libs/libgcrypt: clean whitespace (diff)
downloadgentoo-8da0fc9360d027258c3a9a727001c10de50b63b0.tar.gz
gentoo-8da0fc9360d027258c3a9a727001c10de50b63b0.tar.bz2
gentoo-8da0fc9360d027258c3a9a727001c10de50b63b0.zip
net-misc/cfengine: update a couple more ED/EROOT instances
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/cfengine/cfengine-3.6.2-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/cfengine/cfengine-3.6.2-r1.ebuild b/net-misc/cfengine/cfengine-3.6.2-r1.ebuild
index 53c7b95c86ad..e9cd762ac986 100644
--- a/net-misc/cfengine/cfengine-3.6.2-r1.ebuild
+++ b/net-misc/cfengine/cfengine-3.6.2-r1.ebuild
@@ -85,7 +85,7 @@ src_install() {
emake DESTDIR="${D}" install
# fix ifconfig path in provided promises
- find "${D}"/usr/share -name "*.cf" | xargs sed -i "s,/sbin/ifconfig,$(which ifconfig),g"
+ find "${ED}"/usr/share -name "*.cf" | xargs sed -i "s,/sbin/ifconfig,$(which ifconfig),g"
# Evil workaround for now..
mv "${ED}"/usr/share/doc/${PN}/ "${ED}"/usr/share/doc/${PF}
@@ -135,7 +135,7 @@ pkg_postinst() {
for fname in $(find "${EROOT}"/etc/runlevels/ -type f -or -type l -name 'cf-servd'); do
found=1
rm "$fname"
- ln -s "${EROOT}"/etc/init.d/cf-serverd $(echo "$fname" | sed 's:cf-servd:cf-serverd:')
+ ln -s /etc/init.d/cf-serverd $(echo "$fname" | sed 's:cf-servd:cf-serverd:')
done
if [ "${found}" -eq 1 ]; then