summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/editor-wrapper/editor-wrapper-4-r1.ebuild (renamed from app-misc/editor-wrapper/editor-wrapper-4.ebuild)5
-rw-r--r--app-misc/editor-wrapper/files/editor-wrapper-4.sh2
2 files changed, 3 insertions, 4 deletions
diff --git a/app-misc/editor-wrapper/editor-wrapper-4.ebuild b/app-misc/editor-wrapper/editor-wrapper-4-r1.ebuild
index 888c907c4373..361c762024fa 100644
--- a/app-misc/editor-wrapper/editor-wrapper-4.ebuild
+++ b/app-misc/editor-wrapper/editor-wrapper-4-r1.ebuild
@@ -1,16 +1,14 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
DESCRIPTION="Wrapper scripts that will execute EDITOR or PAGER"
HOMEPAGE="https://www.gentoo.org/"
-SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
S="${WORKDIR}"
@@ -23,6 +21,7 @@ src_prepare() {
-e "s: /etc/profile: \"${EPREFIX}/etc/profile\":" \
editor pager || die
fi
+ eapply_user
}
src_install() {
diff --git a/app-misc/editor-wrapper/files/editor-wrapper-4.sh b/app-misc/editor-wrapper/files/editor-wrapper-4.sh
index b58f1a8b9eeb..9c8fe9599552 100644
--- a/app-misc/editor-wrapper/files/editor-wrapper-4.sh
+++ b/app-misc/editor-wrapper/files/editor-wrapper-4.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright 2009-2011 Gentoo Foundation
+# Copyright 2009-2011 Gentoo Authors
# Distributed under the terms of the MIT/X11 license
# Wrapper script, executes ${@VAR@} with arguments $@