1 |
commit: 80e878a3d48883d1746c731776fd3ac29cb64073 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 21 18:24:57 2017 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 21 19:00:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e878a3 |
7 |
|
8 |
sci-biology/foldingathome: minor ebuild improvements |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild | 10 +++++----- |
13 |
1 file changed, 5 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild |
16 |
index bdb2a91c704..92d3b277ea7 100644 |
17 |
--- a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild |
18 |
+++ b/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild |
19 |
@@ -43,7 +43,6 @@ pkg_setup() { |
20 |
elog "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )" |
21 |
elog "" |
22 |
|
23 |
- # the bash shell is important for "su -c" in init script |
24 |
enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome |
25 |
} |
26 |
|
27 |
@@ -88,7 +87,7 @@ WantedBy=multi-user.target |
28 |
EOF |
29 |
systemd_newunit "${T}"/fah-init.service foldingathome.service |
30 |
|
31 |
- chown -R foldingathome:foldingathome "${ED}"${I} |
32 |
+ fowners -R foldingathome:foldingathome /opt/foldingathome |
33 |
} |
34 |
|
35 |
pkg_postinst() { |
36 |
@@ -97,17 +96,18 @@ pkg_postinst() { |
37 |
elog "(systemd)\tsystemctl enable foldingathome" |
38 |
elog "" |
39 |
if [ ! -e "${EPREFIX}"/opt/foldingathome/config.xml ]; then |
40 |
- elog "No configuration found -- please run" |
41 |
+ elog "No config.xml file found -- please run" |
42 |
elog "emerge --config ${P} to configure your client, or specify" |
43 |
elog "all necessary runtime options in FOLD_OPTS within" |
44 |
elog "${EPREFIX}/etc/conf.d/foldingathome" |
45 |
+ elog "" |
46 |
fi |
47 |
if [[ -n ${REPLACING_VERSIONS} ]]; then |
48 |
elog "NOTE, the 'initfolding' helper script has been dropped, please" |
49 |
elog "use emerge --config ${P} or run FAHClient --configure directly" |
50 |
elog "and adjust file permissions and ownership yourself" |
51 |
+ elog "" |
52 |
fi |
53 |
- elog "" |
54 |
elog "Please see ${EPREFIX}/opt/foldingathome/FAHClient --help for more details." |
55 |
einfo "" |
56 |
einfo "The original package maintainer encourages you to acquire a username and join team 36480." |
57 |
@@ -122,5 +122,5 @@ pkg_postrm() { |
58 |
|
59 |
pkg_config() { |
60 |
cd "${EPREFIX}"/opt/foldingathome || die |
61 |
- su foldingathome -s /bin/bash -c "./FAHClient --configure" |
62 |
+ su foldingathome -s /bin/sh -c "./FAHClient --configure" |
63 |
} |