summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Neumärker <xdch47@posteo.de>2020-01-17 23:41:51 +0100
committerJason Zaman <perfinion@gentoo.org>2020-02-16 21:34:12 +0800
commitccba6ee861c716a8e0ca1123a36ab2b1cf2ab1f6 (patch)
treefa2341d4d9e0df3648c89e0211242e29257ac84d /sys-block/zram-init/zram-init-9999.ebuild
parentnet-misc/rclone-1.51.0 version bump (diff)
downloadgentoo-ccba6ee861c716a8e0ca1123a36ab2b1cf2ab1f6.tar.gz
gentoo-ccba6ee861c716a8e0ca1123a36ab2b1cf2ab1f6.tar.bz2
gentoo-ccba6ee861c716a8e0ca1123a36ab2b1cf2ab1f6.zip
sys-block/zram-init: bump to 9.1 and fix push.sh reference
Closes: https://github.com/gentoo/gentoo/pull/14371 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Felix Neumärker <xdch47@posteo.de> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sys-block/zram-init/zram-init-9999.ebuild')
-rw-r--r--sys-block/zram-init/zram-init-9999.ebuild6
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() {