diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:44:22 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-09-12 12:44:22 +0200 |
commit | 73bd238b6c68a51240c8d3ff941f12959c95f36e (patch) | |
tree | 1bcfd18ba86db1cd8c02f18a329d2232ea6c6a3f /sys-kernel/dracut/dracut-041-r3.ebuild | |
parent | net-misc/netctl: Use optfeature from eutils.eclass (diff) | |
download | gentoo-73bd238b6c68a51240c8d3ff941f12959c95f36e.tar.gz gentoo-73bd238b6c68a51240c8d3ff941f12959c95f36e.tar.bz2 gentoo-73bd238b6c68a51240c8d3ff941f12959c95f36e.zip |
sys-kernel/dracut: Use optfeature from eutils.eclass
Package-Manager: portage-2.2.20
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-kernel/dracut/dracut-041-r3.ebuild')
-rw-r--r-- | sys-kernel/dracut/dracut-041-r3.ebuild | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys-kernel/dracut/dracut-041-r3.ebuild b/sys-kernel/dracut/dracut-041-r3.ebuild index 46660cfa185b..9c8e7d6f940d 100644 --- a/sys-kernel/dracut/dracut-041-r3.ebuild +++ b/sys-kernel/dracut/dracut-041-r3.ebuild @@ -80,24 +80,6 @@ rm_module() { done } -# Grabbed from net-misc/netctl ebuild. -optfeature() { - local desc=$1 - shift - while (( $# )); do - if has_version "$1"; then - elog " [I] $1 to ${desc}" - else - elog " [ ] $1 to ${desc}" - fi - shift - done -} - -# -# ebuild functions -# - src_prepare() { epatch "${PATCHES[@]}" |