summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/vzctl/vzctl-3.0.14.ebuild')
-rw-r--r--sys-cluster/vzctl/vzctl-3.0.14.ebuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys-cluster/vzctl/vzctl-3.0.14.ebuild b/sys-cluster/vzctl/vzctl-3.0.14.ebuild
index db7b935..c05b8d0 100644
--- a/sys-cluster/vzctl/vzctl-3.0.14.ebuild
+++ b/sys-cluster/vzctl/vzctl-3.0.14.ebuild
@@ -36,21 +36,15 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install install-gentoo || die "make install failed"
- # the get_libdir in `make install' breaks src/Makefile's logic (and thus all
- # contained tools), so we have to create a env.d entry for vzctl's LDPATH.
- #dodir /etc/env.d
- #echo "LDPATH=\"/usr/$(get_libdir)/vzctl\"" > "${D}"/etc/env.d/05vzctl
-
# Remove udev files unless USE=udev
use udev || rm -rf "${D}"/etc/udev
# Remove the bash-completion and use dobashcompletion to install it in the
# right place!
- #rm -rf "${D}"/etc/bash_completion.d
- #dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh vzctl
+ dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh.in vzctl
# Remove the logrotate entry unless USE=logrotate
- #use logrotate || rm -rf "${D}"/etc/logrotate.d
+ use logrotate || rm -rf "${D}"/etc/logrotate.d
}
pkg_postinst() {