commit: d2e84cfb1ab1b95a512c6d489f9e9d70253ae416
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 08:09:32 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 08:09:32 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e84cfb
app-misc/xmind: QA fixes
Fix leading whitespaces
Unnecessary die
Unecessary dodir
Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
app-misc/xmind/xmind-3.4.1.201401221918.ebuild | 13 +++++++------
app-misc/xmind/xmind-3.5.1.201411201906.ebuild | 11 ++++++-----
app-misc/xmind/xmind-3.5.3.201506180105.ebuild | 11 ++++++-----
3 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/app-misc/xmind/xmind-3.4.1.201401221918.ebuild
b/app-misc/xmind/xmind-3.4.1.201401221918.ebuild
index 252f66d..7fd5234 100644
--- a/app-misc/xmind/xmind-3.4.1.201401221918.ebuild
+++ b/app-misc/xmind/xmind-3.4.1.201401221918.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -43,11 +43,13 @@ src_configure() {
mv XMind/.eclipseproduct Commons || die
cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die
#Combined common+linux config.ini
# force data instance & config area to be at home/.xmind directory
- sed -i -e '/-configuration/d' \
+ sed \
+ -e '/-configuration/d' \
-e '/\.\/configuration/d' \
-e '/-data/d' \
- -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
- -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini ||
die
+ -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
+ -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \
+ -i XMind/XMind.ini || die
echo '[email protected]/.xmind/workspace-cathy' >>
XMind/XMind.ini || die
echo '[email protected]/.xmind/configuration-cathy'
>> XMind/XMind.ini || die
}
@@ -58,10 +60,9 @@ src_compile() {
src_install() {
insinto /opt/xmind
- doins -r Commons XMind || die
+ doins -r Commons XMind
fperms a+rx "/opt/xmind/XMind/XMind"
- dodir /opt/bin
exeinto /opt/bin
newexe "${FILESDIR}/xmind-wrapper" xmind
diff --git a/app-misc/xmind/xmind-3.5.1.201411201906.ebuild
b/app-misc/xmind/xmind-3.5.1.201411201906.ebuild
index 4a1c82e..0dcc285 100644
--- a/app-misc/xmind/xmind-3.5.1.201411201906.ebuild
+++ b/app-misc/xmind/xmind-3.5.1.201411201906.ebuild
@@ -43,11 +43,13 @@ src_configure() {
mv XMind/.eclipseproduct Commons || die
cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die
#Combined common+linux config.ini
# force data instance & config area to be at home/.xmind directory
- sed -i -e '/-configuration/d' \
+ sed \
+ -e '/-configuration/d' \
-e '/\.\/configuration/d' \
-e '/-data/d' \
- -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
- -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini ||
die
+ -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
+ -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \
+ -i XMind/XMind.ini || die
echo '[email protected]/.xmind/workspace-cathy' >>
XMind/XMind.ini || die
echo '[email protected]/.xmind/configuration-cathy'
>> XMind/XMind.ini || die
}
@@ -58,10 +60,9 @@ src_compile() {
src_install() {
insinto /opt/xmind
- doins -r Commons XMind || die
+ doins -r Commons XMind
fperms a+rx "/opt/xmind/XMind/XMind"
- dodir /opt/bin
exeinto /opt/bin
newexe "${FILESDIR}/xmind-wrapper" xmind
diff --git a/app-misc/xmind/xmind-3.5.3.201506180105.ebuild
b/app-misc/xmind/xmind-3.5.3.201506180105.ebuild
index 4a1c82e..0dcc285 100644
--- a/app-misc/xmind/xmind-3.5.3.201506180105.ebuild
+++ b/app-misc/xmind/xmind-3.5.3.201506180105.ebuild
@@ -43,11 +43,13 @@ src_configure() {
mv XMind/.eclipseproduct Commons || die
cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die
#Combined common+linux config.ini
# force data instance & config area to be at home/.xmind directory
- sed -i -e '/-configuration/d' \
+ sed \
+ -e '/-configuration/d' \
-e '/\.\/configuration/d' \
-e '/-data/d' \
- -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
- -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' XMind/XMind.ini ||
die
+ -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
+ -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \
+ -i XMind/XMind.ini || die
echo '[email protected]/.xmind/workspace-cathy' >>
XMind/XMind.ini || die
echo '[email protected]/.xmind/configuration-cathy'
>> XMind/XMind.ini || die
}
@@ -58,10 +60,9 @@ src_compile() {
src_install() {
insinto /opt/xmind
- doins -r Commons XMind || die
+ doins -r Commons XMind
fperms a+rx "/opt/xmind/XMind/XMind"
- dodir /opt/bin
exeinto /opt/bin
newexe "${FILESDIR}/xmind-wrapper" xmind