commit:     552d77fb9dd0141443612f26e2713cab945a3900
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 21:57:31 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 23:02:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=552d77fb

x11-misc/dsx: Simplify to avoid interim copy

 x11-misc/dsx/dsx-0.1-r1.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/x11-misc/dsx/dsx-0.1-r1.ebuild b/x11-misc/dsx/dsx-0.1-r1.ebuild
index bb4c35bd73..cb0f7f2a0b 100644
--- a/x11-misc/dsx/dsx-0.1-r1.ebuild
+++ b/x11-misc/dsx/dsx-0.1-r1.ebuild
@@ -25,11 +25,6 @@ RDEPEND="
 
 S="${WORKDIR}"
 
-src_prepare() {
-       cp "${FILESDIR}/${P}" "${PN}" || die
-       default
-}
-
 src_install() {
-       python_doscript "${WORKDIR}/${PN}"
+       python_newscript "${FILESDIR}/${P}" "${PN}"
 }

Reply via email to