diff options
Diffstat (limited to 'sys-block/zram-init/zram-init-9999.ebuild')
-rw-r--r-- | sys-block/zram-init/zram-init-9999.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-block/zram-init/zram-init-9999.ebuild b/sys-block/zram-init/zram-init-9999.ebuild index 2b9aa4db74d0..87a6d31eaf21 100644 --- a/sys-block/zram-init/zram-init-9999.ebuild +++ b/sys-block/zram-init/zram-init-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -31,7 +31,8 @@ You might need to modify /etc/modprobe.d/zram.conf" src_prepare() { use prefix || sed -i \ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ - -- sbin/* || die + -e 's#PushA_=`push.sh 2>/dev/null`#PushA_=`cat '"${EPREFIX}"'/usr/share/push/push.sh`#' \ + -- sbin/zram-init || die default } @@ -47,6 +48,7 @@ src_install() { readme.gentoo_create_doc into / dosbin sbin/* + doman man/${PN}.8 } pkg_postinst() { |