summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2013-11-02 20:34:53 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:49:00 +0200
commitdf61b455f7cb2744bd58aff25af8f111c86ec4fb (patch)
treeda10c485ef5b344f7d8c58b19d99ab8347a0352e /app-portage/trickyfetch
parentBump portage-bashrc-mv. eix: Remove IUSE=clang (diff)
downloadmv-df61b455f7cb2744bd58aff25af8f111c86ec4fb.tar.gz
mv-df61b455f7cb2744bd58aff25af8f111c86ec4fb.tar.bz2
mv-df61b455f7cb2744bd58aff25af8f111c86ec4fb.zip
Shebang care with many bumps
Diffstat (limited to 'app-portage/trickyfetch')
-rw-r--r--app-portage/trickyfetch/ChangeLog5
-rw-r--r--app-portage/trickyfetch/Manifest2
-rw-r--r--app-portage/trickyfetch/trickyfetch-8.2.ebuild (renamed from app-portage/trickyfetch/trickyfetch-8.1.ebuild)10
3 files changed, 14 insertions, 3 deletions
diff --git a/app-portage/trickyfetch/ChangeLog b/app-portage/trickyfetch/ChangeLog
index 52280ee0..494f0b4c 100644
--- a/app-portage/trickyfetch/ChangeLog
+++ b/app-portage/trickyfetch/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*trickyfetch-8.2 (02 Nov 2013)
+
+ 02 Nov 2013; Martin Väth <martin@mvath.de>:
+ Version bump, remove old ebuild. Shebang care
+
*trickyfetch-8.1 (28 Jan 2013)
10 Sep 2013; Martin Väth <martin@mvath.de>:
diff --git a/app-portage/trickyfetch/Manifest b/app-portage/trickyfetch/Manifest
index 3a5eb515..a891e9a5 100644
--- a/app-portage/trickyfetch/Manifest
+++ b/app-portage/trickyfetch/Manifest
@@ -1 +1 @@
-DIST trickyfetch-8.1.tar.gz 10630 SHA256 ebffc4316c416e53226c640a5b63ba9f37132ced884a70aaf0be47e59b201010 SHA512 1def106779cd60569fced38f67e2d3e21a39b3b935baec0f654ff3b9c35c21ede4b11c28cc42d54d876a21faa9a3cac4b836944265915237a48f50ceeecbe0f4 WHIRLPOOL 3a90d698536fd78aa4d30b1a94905d340d795a4a42255ca5d1db75cfc87630065e911892e8516c3c6b5daf32b4a634f22dc449ca465f5700123f8b66dbf9ca03
+DIST trickyfetch-8.2.tar.gz 10627 SHA256 f9d0f594aa2a253149de7c265d99e623053507521f362552642cc1bf80923f80 SHA512 a4024cfca40d5ef4ad470e1b5c3cd26586b1c63833af642409da3bf6db9124c46fd8dc700a19f4520a9349b7840868edb616ae3afd3f102f5962f717ce8823ef WHIRLPOOL 4b14b6a79e0b7a3b6d49b10d26149daf50357cdcc39ff16c0957cc631bb0ae0b25aa0a254511f3d2acc07e8cc06c303bc1ee3818cc3375cc5ef8bf6859e15dfd
diff --git a/app-portage/trickyfetch/trickyfetch-8.1.ebuild b/app-portage/trickyfetch/trickyfetch-8.2.ebuild
index 7da72530..52c9c138 100644
--- a/app-portage/trickyfetch/trickyfetch-8.1.ebuild
+++ b/app-portage/trickyfetch/trickyfetch-8.2.ebuild
@@ -16,8 +16,14 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
- sed -i -e "s'\\(PATH=.\\)/etc'\\1${EPREFIX}/etc'" \
- -- "${S}/bin/trickyfetch"
+ if use prefix
+ then sed -i \
+ -e "s'\\(PATH=.\\)/etc'\\1${EPREFIX}/etc'" \
+ -- "${S}/bin/trickyfetch" || die
+ else sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"$(command -v sh)"'"' \
+ -- "${S}"/bin/* || die
+ fi
epatch_user
}